-
Bug
-
Resolution: Fixed
-
P5
-
6, 13
-
b24
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225952 | 14 | Chris Hegarty | P5 | Resolved | Fixed | team |
The public javadoc for following methods:
java.io.ObjectInputStream.readObjectOverride()
see link below:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectInputStream.html#readObjectOverride(
java.io.ObjectOutputStream.writeObjectOverride(Object obj)
see link below:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectOutputStream.html#writeObjectOverride(java.lang.Object
contains several typos related with wrong wording about using classes in executed context. Suggested fixes are listed below:
javadoc for method java.io.ObjectInputStream.readObjectOverride():
> This method is called by trusted subclasses of ObjectOutputStream
> that constructed ObjectOutputStream using the protected no-arg
> constructor. The subclass is expected to provide an override method
> with the modifier "final".
should be fixed as:
This method is called by trusted subclasses of ObjectInputStream
that constructed ObjectInputStream using the protected no-arg
constructor. The subclass is expected to provide an override method
with the modifier "final".
javadoc for method java.io.ObjectOutputStream.writeObjectOverride(Object obj):
> Method used by subclasses to override the default writeObject
> method. This method is called by trusted subclasses of
> ObjectInputStream that constructed ObjectInputStream using the
> protected no-arg constructor. The subclass is expected to provide
> an override method with the modifier "final".
should be fixed as:
Method used by subclasses to override the default writeObject
method. This method is called by trusted subclasses of
ObjectOutputStream that constructed ObjectOutputStream using the
protected no-arg constructor. The subclass is expected to provide an
override method with the modifier "final".
java.io.ObjectInputStream.readObjectOverride()
see link below:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectInputStream.html#readObjectOverride(
java.io.ObjectOutputStream.writeObjectOverride(Object obj)
see link below:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectOutputStream.html#writeObjectOverride(java.lang.Object
contains several typos related with wrong wording about using classes in executed context. Suggested fixes are listed below:
javadoc for method java.io.ObjectInputStream.readObjectOverride():
> This method is called by trusted subclasses of ObjectOutputStream
> that constructed ObjectOutputStream using the protected no-arg
> constructor. The subclass is expected to provide an override method
> with the modifier "final".
should be fixed as:
This method is called by trusted subclasses of ObjectInputStream
that constructed ObjectInputStream using the protected no-arg
constructor. The subclass is expected to provide an override method
with the modifier "final".
javadoc for method java.io.ObjectOutputStream.writeObjectOverride(Object obj):
> Method used by subclasses to override the default writeObject
> method. This method is called by trusted subclasses of
> ObjectInputStream that constructed ObjectInputStream using the
> protected no-arg constructor. The subclass is expected to provide
> an override method with the modifier "final".
should be fixed as:
Method used by subclasses to override the default writeObject
method. This method is called by trusted subclasses of
ObjectOutputStream that constructed ObjectOutputStream using the
protected no-arg constructor. The subclass is expected to provide an
override method with the modifier "final".
- backported by
-
JDK-8225952 Typos in javadoc of OIS.readObjectOverride and OOS.writeObjectOverride
-
- Resolved
-
- duplicates
-
JDK-6442353 ObjectOutputStream.writeObjectOverride(), ObjectInputStream.readObjectOverride() javadoc issues
-
- Closed
-
- relates to
-
JDK-8227702 ObjectStreamConstants.SUBCLASS_IMPLEMENTATION_PERMISSION should discuss more methods
-
- Open
-
-
JDK-6442353 ObjectOutputStream.writeObjectOverride(), ObjectInputStream.readObjectOverride() javadoc issues
-
- Closed
-