提交 af4dd469 编写于 作者: D dsamersoff

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
上级 f6304be1
...@@ -178,7 +178,7 @@ public class VMOption { ...@@ -178,7 +178,7 @@ public class VMOption {
return "VM option: " + getName() + return "VM option: " + getName() +
" value: " + value + " " + " value: " + value + " " +
" origin: " + origin + " " + " origin: " + origin + " " +
(writeable ? "(read-only)" : "(read-write)"); (writeable ? "(read-write)" : "(read-only)");
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册