Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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.
[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. … 6 more files in changeset.
Add unit test for custom converter chaining.

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-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

  1. … 1 more file in changeset.
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.
Add unit test for Version conversion.

[converter] Avoid losing generics information in nested types

Committing some missing test classes that should have been included with the previous commit.

    • ?
    ./osgi/util/converter/MyGenericInterface.java
[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. … 7 more files in changeset.
[Converter] Improved name mangling implementation committed on behalf of Peter Kriens with many thanks

    • ?
    ./osgi/util/converter/UtilTest.java
  1. … 1 more file in changeset.
[Converter] Implementation of live collections and unit tests for these.

  1. … 16 more files in changeset.
Converter fixes needed to pass the OSGi Converter CT.

  1. … 2 more files in changeset.
Updates to the Converter to handle name mangling better.

  1. … 2 more files in changeset.
Support additional collection interfaces in the converter.

  1. … 1 more file in changeset.
Fix an issue with the converter Map Delegate.

  1. … 1 more file in changeset.
Fix live map conversion

  1. … 2 more files in changeset.
Remove some empty directories
  1. … 1 more file in changeset.
Move OSGi Converter Implementation to OSGi package to make it usable as Converter RI.

    • ?
    ./osgi/util/converter/TestDictionary.java
    • ?
    ./osgi/util/converter/ConverterBuilderTest.java
  1. … 63 more files in changeset.
Fix Converter default handling for collections
  1. … 1 more file in changeset.
Fix default handling in Converter

  1. … 1 more file in changeset.
Update to converter test