java.net: little fixes

Tom Tromey tromey@redhat.com
Sat Jan 11 01:08:00 GMT 2003


>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> +	* java/net/NetPermission.java
Michael> +	(NetPermission): Dont implement java.io.Serializable directly,
Michael> +	no need for explicit serialVersionUID. 
Michael> +	* java/net/SocketAddress.java
Michael> +	(SocketAddress): No need for explicit serialVersionUID.

I think our style is to put serialVersionUID everywhere.
Eric, isn't that the case?

See any of the previous discussions about this.
Basically, I think we can't rely on classes being generated in a
compatible way.  So we set serialVersionUID and defer compatibility to
an as-yet-nonexistent test suite.

The rest of this looks fine, so I'll check those parts in.

Tom



More information about the Java-patches mailing list