RFR: JDK-8072754: Getting read of unnecessary sun.misc.Version in the test

Alexander Kulyakhtin alexander.kulyakhtin at oracle.com
Tue Mar 10 13:34:32 UTC 2015


Hi Igor,

Could you, please, sponsor this small fix, as it has been already approved?

Best regards,
Alex

----- Original Message -----
From: Alan.Bateman at oracle.com
To: alexander.kulyakhtin at oracle.com, serviceability-dev at openjdk.java.net
Sent: Tuesday, March 10, 2015 4:02:43 PM GMT +04:00 Abu Dhabi / Muscat
Subject: Re: RFR: JDK-8072754: Getting read of unnecessary sun.misc.Version in the test

On 10/03/2015 12:38, Alexander Kulyakhtin wrote:
> Hi,
>
> Could you, please, review a small fix below.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8072754
> webrev: http://cr.openjdk.java.net/~eistepan/~akulyakhtin/8072754/webrev.00/
>
> The tests uses sun.misc.Version to check if the JVM version is greater than a certain version.
> For the JDK 9 the condition is always true and the usage of sun.misc.Version thus can be eliminated.
>
Looks good.

-Alan


More information about the serviceability-dev mailing list