Checkout Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
FELIX-6157 Converter build fails with Java 12

No additional unit tests needed as the existing unit tests already cover

this when run under Java 12

[converter] Fix for FELIX-6141 - Avoid NPE when Maps have null keys or values

Signed-off-by: Tim Ward <timothyjward@apache.org>

  1. … 1 more file in changeset.
[converter] Add support for spec mandated types

Includes: MonthDay, YearMonth, Instant, Duration

Fixes: FELIX-6138

Signed-off-by: Tim Ward <timothyjward@apache.org>

  1. … 1 more file in changeset.
Update package version to 1.0.8

[FELIX-6100] Avoid infinite loop when converting null to a multi-dimensional array

More tests and fix the silly mistake!

Signed-off-by: Tim Ward <timothyjward@apache.org>

  1. … 1 more file in changeset.
FELIX-6100 [converter] Ensure that converting null to an array creates an object of the correct type

Patch applied on behalf of Tim Ward with many thanks.

This closes #197

  1. … 1 more file in changeset.
FELIX-6008 ErrorHandlers should be applied in reverse order

  1. … 1 more file in changeset.
[Felix Converter] Improve thread safety by passing current converter along the call chain rather than setting it as a member.

No functional changes in this commit.

  1. … 1 more file in changeset.
FELIX-6065 Support the use of wildcard types in conversions
  1. … 1 more file in changeset.
FELIX-6064 Be lenient when converting from a DTO type with no public no-args constructor
  1. … 2 more files in changeset.
FELIX-6063 Avoid using getDeclaredXXX() in the converter
FELIX-6057 Converter doesn't properly handle PREFIX_ in marker annotations
  1. … 2 more files in changeset.
FELIX-6031 Converter is not working properly when the target is an interface that extends others

Fix based on suggested fix by Cristiano Gavião.

Added unit test too.

  1. … 1 more file in changeset.
FELIX-6006 errorHandler not consulted for conversions implemented via proxies

Provide more useful type info to the errorHandler when using the errorHandler with a proxy. The type passed in is the expected return type of the method invocation.

Unit test provided by Cristiano Gavião with many thanks!

  1. … 1 more file in changeset.
FELIX-6006 errorHandler not consulted for conversions implemented via proxies

Minor fix to the implementation

FELIX-6006 errorHandler not consulted for conversions implemented via proxies

  1. … 1 more file in changeset.
Update Converter package to 1.0.2

Update converter version to 1.0.1

FELIX-5923 Conversion from Map to single element Annotation type does not incorporate PREFIX_

This commit fixes the issue.

It also contains a test case contributed by Arnoud Glimmerveen

  1. … 1 more file in changeset.
[Felix Converter] Prepare Javadoc for release

[converter] Some fixes to pass the OSGi CT tests.

Felix Converter - Fix a number of coding style issues. No functionality changes.

Felix Converter - support for converting to marker annotations.

Update the converter codebase to the latest version from OSGi.

Changes are mostly formatting related as the OSGi codebase automatically applies formatting rules. New functionality is the handling of marker interfaces.

  1. … 16 more files in changeset.
[converter] Avoid losing generics information in nested types

Committing on behalf of Tim Ward with many thanks!

This closes #129

  1. … 1 more file in changeset.
[converter] update to the latest OSGi API.

The API was changed to replace the copy() modifier with the view() modifier, which in effect is the opposite of copy. The default behaviour is now copying.

  1. … 5 more files in changeset.
[converter] fix compilation error on java 7

[Converter] Improved name mangling implementation committed on behalf of Peter Kriens with many thanks

  1. … 1 more file in changeset.
[converter] update the source to follow OSGi formatting guidelines

  1. … 11 more files in changeset.
[Converter] Fix some of the generics.