[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR: 8078144 many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactor
From: Mandy Chung <mandy.chung () oracle ! com>
Date: 2015-04-21 15:34:59
Message-ID: 55366E23.9020105 () oracle ! com
[Download RAW message or body]
On 4/21/2015 12:01 AM, Shanliang Jiang wrote:
> Hi,
>
> Please review this test fix:
>
> webrev: http://cr.openjdk.java.net/~sjiang/JDK-8078144/00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8078144
>
> The method sun.management.ManagementFactoryHelper.getDiagnosticMXBean
> was removed because HotSpotDiagnosticMXBean is not in java.management
> module but in jdk.management module, to get the
> HotSpotDiagnosticMXBean we should call:
> ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class)
The webrev.01 version looks good to me. JDK-8042901 fixed several
tests to eliminate the dependency on sun.management internal APIs and
missed these few tests. You probably may have done this - grep and see
if there are any remaining tests to be updated.
Mandy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic