src/java.base/share/classes/java/io/ObjectOutputStream.java
changeset 55198 30fe07cac527
parent 47216 71c04702a3d5
child 58054 ee230ad8cfef
--- a/src/java.base/share/classes/java/io/ObjectOutputStream.java	Tue Jun 04 16:33:37 2019 +0200
+++ b/src/java.base/share/classes/java/io/ObjectOutputStream.java	Tue Jun 04 15:52:26 2019 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -357,8 +357,8 @@
 
     /**
      * 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.
+     * 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".
      *