-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b78
-
generic
-
generic
Javadoc for Serialized Form of java.net.URI class (build 1.6.0-rc-b61)
contains the following description for the writeObject method:
...
The only serializable field of a URI instance is its string field.
That field is given a value, if it does not have one already, and then
the ObjectOutputStream.defaultWriteObject() method of the given object-output
stream is invoked.
...
However, another serializable field in the java.net.URI class is described
at the same javadoc:
...
String iriString
...
Thus, this is an ambiguity. Please correct javadoc or mark the iriString firld as "transient".
contains the following description for the writeObject method:
...
The only serializable field of a URI instance is its string field.
That field is given a value, if it does not have one already, and then
the ObjectOutputStream.defaultWriteObject() method of the given object-output
stream is invoked.
...
However, another serializable field in the java.net.URI class is described
at the same javadoc:
...
String iriString
...
Thus, this is an ambiguity. Please correct javadoc or mark the iriString firld as "transient".