< prev index next >

src/java.base/share/classes/java/io/ObjectInputStream.java

Print this page

        

@@ -445,12 +445,12 @@
             }
         }
     }
 
     /**
-     * This method is called by trusted subclasses of ObjectInputStream that
-     + constructed ObjectInputStream using the protected no-arg constructor.
+     * 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".
      *
      * @return  the Object read from the stream.
      * @throws  ClassNotFoundException Class definition of a serialized object
< prev index next >