Transient variable in non-serializable class
Ion Ionascu
ionionascu at gmail.com
Wed Aug 17 02:58:26 PDT 2011
Hi,
I hope this is the right mailing list to ask the following question.
Could you please explain to me why the variable "discovered" from the class
java.lang.ref.Reference is declared as being transient even though it is a
private variable in a class which doesn't extend the interface Serializable?
Thank you,
Ion Ionascu
www.ionionascu.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20110817/4d8a1a9d/attachment.html
More information about the jdk6-dev
mailing list