JDK 8 code review request for 6226715: (ann) java.lang.annotation.AnnotationTypeMismatchException could not be serialized (original) (raw)
Joe Darcy joe.darcy at oracle.com
Thu Jun 16 00:35:38 UTC 2011
- Previous message: Code review request for 7021922: java.lang.annoation.IncompleteExceptions throws NPE when type is null
- Next message: JDK 8 code review request for 6226715: (ann) java.lang.annotation.AnnotationTypeMismatchException could not be serialized
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello.
Please review my JDK 8 fix for
6226715: (ann) java.lang.annotation.AnnotationTypeMismatchException
could not be serialized http://cr.openjdk.java.net/~darcy/6226715.0/
This fix includes the unusual step of marking a non-transient field transient in a serialiable class, but the class can't meaningfully be serialized today anyway so this change should have no adverse effect in practice.
For good code hygiene, the new readObject method explicitly sets the now transient field in question.
Thanks,
-Joe
- Previous message: Code review request for 7021922: java.lang.annoation.IncompleteExceptions throws NPE when type is null
- Next message: JDK 8 code review request for 6226715: (ann) java.lang.annotation.AnnotationTypeMismatchException could not be serialized
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]