Request to backport 7080038: "(ann) Serializable types in sun.reflect.annotation do not declare serialVersionUIDs" to OpenJDK 6
joe.darcy at oracle.com
Mon Aug 22 18:25:53 PDT 2011
I hereby request to approval to backport
7080038: (ann) Serializable types in sun.reflect.annotation do not
to OpenJDK 6. Some more description of the change is on
The problematic fix for 6761678 "(ann) SecurityException in
AnnotationInvocationHandler.getMemberMethods" has also present in
OpenJDK 6 since b13:
This means that annotation objects with the correct serialVersionUIDs
from JDK 5, Sun/Oracle's JDK 6, and OpenJDK 6 b01 through b12 have *not*
been readable under OpenJDK 6 b13 to present (b23).
Given that to my knowledge this issue has not previously been reported,
I'm inferring this is not a common usage pattern for annotations.
Operationally, if the fix for 7080038 is applied to in OpenJDK 6 b24,
that will restore serial compatibility of annotations with OpenJDK 6 b01
through b12 (and JDK 5, etc.) at the cost of creating a incompatibility
with b13 through b23.
Since the original accidental change to the serialVersionUID went
unnoticed, I'm hoping changing it back will also not cause any
More information about the jdk6-dev