[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR 8142398: IllegalAccessException Class sun.usagetracker.UsageTrackerClient$4 (module java.bas
From:       Magnus Ihse Bursie <magnus.ihse.bursie () oracle ! com>
Date:       2015-12-15 13:23:49
Message-ID: 56701465.4060503 () oracle ! com
[Download RAW message or body]

On 2015-12-14 17:55, Jaroslav Bachorik wrote:
> Please, review the following change
>
> Issue : https://bugs.openjdk.java.net/browse/JDK-8138677
> Webrev: http://cr.openjdk.java.net/~jbachorik/8138677/webrev.00
>
> The problem is that the class UsageTrackerClient is accessing 
> RuntimeMXBean.getInputArguments() method via reflection to avoid 
> static dependency. However, with functional module boundaries this fails.
>
> Since the functionality provided by RuntimeMXBean.getInputArguments() 
> is not, in fact, specific to the management subsystem, it makes sense 
> to move it out of jmm.h to jvm.h
>
> Full suite of SVC tests was run against this change successfully on 
> all platforms.
>
>
> Thanks,
>
> -JB-

Build changes look good to me.

/Magnus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic