[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: com.sun.management.VMOption.toString()
From: Dmitry.Samersoff () oracle ! com (Dmitry Samersoff)
Date: 2012-08-28 15:49:56
Message-ID: 503CE8A4.8000803 () oracle ! com
[Download RAW message or body]
Dmytro.
CR Number 7194597
-Dmitry
On 2012-08-27 19:59, Dmytro Sheyko wrote:
> Hi,
>
> Just found little misprint in com.sun.management.VMOption.toString()
> It returns "...(read-only)" if writable is true and "...(read-write)"
> otherwise.
> Here is a patch:
>
> diff -r 156ab3c38556 src/share/classes/com/sun/management/VMOption.java
> --- a/src/share/classes/com/sun/management/VMOption.java Thu Aug 23
> 12:27:49 2012 -0700
> +++ b/src/share/classes/com/sun/management/VMOption.java Mon Aug 27
> 18:52:10 2012 +0300
> @@ -178,7 +178,7 @@
> return "VM option: " + getName() +
> " value: " + value + " " +
> " origin: " + origin + " " +
> - (writeable ? "(read-only)" : "(read-write)");
> + (writeable ? "(read-write)" : "(read-only)");
> }
>
> /**
>
> Do we need formal bug report to fix this?
>
> Regards,
> Dmytro
--
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic