7194597: Typeo in com.sun.management.VMOption.toString()
Summary: VMOption.toString() returns "...(read-only)" if writable "...(read-write)" otherwise.
Reviewed-by: alanb, mchung
Contributed-by: dmytro_sheyko@hotmail.com
--- a/jdk/src/share/classes/com/sun/management/VMOption.java Mon Sep 10 09:18:10 2012 -0400
+++ b/jdk/src/share/classes/com/sun/management/VMOption.java Tue Sep 11 19:58:36 2012 +0400
@@ -178,7 +178,7 @@
return "VM option: " + getName() +
" value: " + value + " " +
" origin: " + origin + " " +
- (writeable ? "(read-only)" : "(read-write)");
+ (writeable ? "(read-write)" : "(read-only)");
}
/**