
| Key: |
XSTR-278
|
| Type: |
New Feature
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Assignee: |
Unassigned
|
| Reporter: |
Guilherme Silveira
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
XStream
Created: 27/Feb/06 12:16 PM
Updated: 07/Aug/06 09:13 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.2
|
|
| JDK version and platform: |
1.5
|
|
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.
|
|
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.
|
Show » |
|