changeset 16954:98dd9af9e290

8178154: Typo in Object.finalize deprecation javadoc Reviewed-by: mchung
author rriggs
date Thu, 06 Apr 2017 10:41:31 -0400
parents 0cbd3417cc9d
children 0526526e7302
files src/java.base/share/classes/java/lang/Object.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/Object.java	Thu Apr 06 16:17:03 2017 +0200
+++ b/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