Tom Tromey wrote: > >>>>> "Gary" == Gary Benson <[EMAIL PROTECTED]> writes: > > Gary> Does anybody know why java.net.SocketPermission's hostport > Gary> member is declared transient? > > transient means that the field is not a candidate for serialization.
How can you have a meaningful serialized representation without that essential piece? > Gary> I'm working on a rewrite (spurred by PR 24708) that would > Gary> replace hostport entirely but I don't want to break stuff > Gary> inadvertantly! > > Go for it. In combination with 'private', 'transient' is nice > because it means you can have a lot of confidence that removing the > field won't break anything. In other cases you may need to do a > little more research first... Ok, cool. Cheers, Gary _______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

