changeset 50935:3d99fff7aea5 jep-334

Fix VarHandle.toString typo
author psandoz
date Tue, 05 Jun 2018 17:31:57 -0700
parents 6f7435977040
children 0001cbfdf09b
files src/java.base/share/classes/java/lang/invoke/VarHandle.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/VarHandle.java	Mon Jun 04 15:38:31 2018 -0700
+++ b/src/java.base/share/classes/java/lang/invoke/VarHandle.java	Tue Jun 05 17:31:57 2018 -0700
@@ -1889,7 +1889,7 @@
     public final String toString() {
         // @@@ defer to concrete type for additional description
         // see https://bugs.openjdk.java.net/browse/JDK-8199149
-        return String.format("VarHandle[varType=%s, cooordType=%s]",
+        return String.format("VarHandle[varType=%s, coord=%s]",
                              varType().getName(),
                              coordinateTypes());
     }