changeset 44540:dbc181a6e4a7

8178154: Typo in Object.finalize deprecation javadoc Reviewed-by: mchung
author rriggs
date Thu, 06 Apr 2017 10:41:31 -0400
parents 5633de18d6cb
children 7b5654460f8a
files jdk/src/java.base/share/classes/java/lang/Object.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/lang/Object.java	Thu Apr 06 16:17:03 2017 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/Object.java	Thu Apr 06 10:41:31 2017 -0400
@@ -593,7 +593,7 @@
      * finalization if it is no longer necessary; and no ordering is specified
      * among calls to {@code finalize} methods of different objects.
      * Furthermore, there are no guarantees regarding the timing of finalization.
-     * The {@code finalize} method might be called on an finalizable object
+     * The {@code finalize} method might be called on a finalizable object
      * only after an indefinite delay, if at all.
      *
      * Classes whose instances hold non-heap resources should provide a method