changeset 5852:2598dad44449

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
author dsamersoff
date Tue, 11 Sep 2012 19:58:36 +0400
parents 657f7cb0da7e
children 1f7c783e4f13
files src/share/classes/com/sun/management/VMOption.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/management/VMOption.java	Mon Sep 10 09:18:10 2012 -0400
+++ b/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)");
     }
 
     /**