Details
-
Type: New Feature
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
JDK version and platform:1.5
Description
Allow converter overriding in a field-basis and not class-level... (using annotations).
The patch I have created has the following issues that I did not know what you would like:
1. There is a try/catch during initialization (PureJavaReflectionProvider) that starts the AnnotationProvider.... what to do if an exception is caught? (ClassNotFoundException)
2. JavaAnnotationsReflectionProvider has the same problem with exception dealing (did not know how you would like to do it)
A few acceptance tests were included. I tested it compiling in jdk1.5, running the ant build.
The generated jar file was tested under java 1.5 and 1.4 successfuly.
new patch with created files