7194597: Typeo in com.sun.management.VMOption.toString()

VMOption.toString() returns "...(read-only)" if writable "...(read-write)" otherwise.

Reviewed-by: alanb, mchung
This commit is contained in:
Dmytro Sheyko 2012-09-11 19:58:36 +04:00 committed by Dmitry Samersoff
parent 6ac22bda1f
commit 366a5c5175

View File

@ -178,7 +178,7 @@ public class VMOption {
return "VM option: " + getName() +
" value: " + value + " " +
" origin: " + origin + " " +
(writeable ? "(read-only)" : "(read-write)");
(writeable ? "(read-write)" : "(read-only)");
}
/**