libs/src/java_lang/metadata/Phase2/BinaryCompatibility/BinaryCompatibilityTest8
libs/src/java_lang/metadata/Phase2/BinaryCompatibility/BinaryCompatibilityTest11
In Section VIII Annotation Type Evolution (Binary Compatibility)
Adding and Removing Defaults
It is mentioned that:-
Attempts to read the member from a compiled(or serialized) annotation that
relied on the default will fail: the accessor will throw an IncompleteAnnotationException.
This works fine in case of compiled annotation but in case of serialized annotation one gets the default value even though serialized annotation is
read using the revised interface in which default value is being removed.
To reproduce the bug please find the attached tar file. It has readme too.
The problem is happening on
Tiger-beta2 build-41.
I have tried on Solaris-9 not sure about other platforms.
libs/src/java_lang/metadata/Phase2/BinaryCompatibility/BinaryCompatibilityTest11
In Section VIII Annotation Type Evolution (Binary Compatibility)
Adding and Removing Defaults
It is mentioned that:-
Attempts to read the member from a compiled(or serialized) annotation that
relied on the default will fail: the accessor will throw an IncompleteAnnotationException.
This works fine in case of compiled annotation but in case of serialized annotation one gets the default value even though serialized annotation is
read using the revised interface in which default value is being removed.
To reproduce the bug please find the attached tar file. It has readme too.
The problem is happening on
Tiger-beta2 build-41.
I have tried on Solaris-9 not sure about other platforms.