7194597: Typeo in com.sun.management.VMOption.toString()
authordsamersoff
Tue, 11 Sep 2012 19:58:36 +0400
changeset 13794 73e854afd84d
parent 13793 07980df92cb0
child 13795 73850c397272
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
jdk/src/share/classes/com/sun/management/VMOption.java
--- 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)");
     }
 
     /**