Re: java.lang.management.RuntimeMXBean not module aware

2017-03-08 Thread Mandy Chung
> On Mar 8, 2017, at 2:48 AM, Alan Bateman wrote: > > On 08/03/2017 10:22, Volker Simonis wrote: > >> : >> Thanks for filing the bug. I think this could be easily achieved by >> exposing jdk.internal.module.ModuleBootstrap.finder() trough the >> RuntimeMXBean. >> We could for example add a meth

Re: java.lang.management.RuntimeMXBean not module aware

2017-03-08 Thread Alan Bateman
On 08/03/2017 10:22, Volker Simonis wrote: : Thanks for filing the bug. I think this could be easily achieved by exposing jdk.internal.module.ModuleBootstrap.finder() trough the RuntimeMXBean. We could for example add a method getObservableModulesFinder()" to RuntimeMXBean which returns jdk.inte

Re: java.lang.management.RuntimeMXBean not module aware

2017-03-08 Thread Volker Simonis
On Tue, Mar 7, 2017 at 6:56 PM, Mandy Chung wrote: >> >> On Mar 7, 2017, at 12:32 AM, Volker Simonis wrote: >> >> Hi, >> >> java.lang.management.RuntimeMXBean offers methods like getClassPath(), >> getLibraryPath() and even getBootClassPath() if >> isBootClassPathSupported() returns true. While >

Re: java.lang.management.RuntimeMXBean not module aware

2017-03-07 Thread Mandy Chung
> > On Mar 7, 2017, at 12:32 AM, Volker Simonis wrote: > > Hi, > > java.lang.management.RuntimeMXBean offers methods like getClassPath(), > getLibraryPath() and even getBootClassPath() if > isBootClassPathSupported() returns true. While > isBootClassPathSupported() has been changed in jdk9 to a

Re: java.lang.management.RuntimeMXBean not module aware

2017-03-07 Thread Volker Simonis
On Tue, Mar 7, 2017 at 10:06 AM, Alan Bateman wrote: > On 07/03/2017 08:32, Volker Simonis wrote: > >> Hi, >> >> java.lang.management.RuntimeMXBean offers methods like getClassPath(), >> getLibraryPath() and even getBootClassPath() if >> isBootClassPathSupported() returns true. While >> isBootClas

Re: java.lang.management.RuntimeMXBean not module aware

2017-03-07 Thread Alan Bateman
On 07/03/2017 08:32, Volker Simonis wrote: Hi, java.lang.management.RuntimeMXBean offers methods like getClassPath(), getLibraryPath() and even getBootClassPath() if isBootClassPathSupported() returns true. While isBootClassPathSupported() has been changed in jdk9 to always return false (althou

java.lang.management.RuntimeMXBean not module aware

2017-03-07 Thread Volker Simonis
Hi, java.lang.management.RuntimeMXBean offers methods like getClassPath(), getLibraryPath() and even getBootClassPath() if isBootClassPathSupported() returns true. While isBootClassPathSupported() has been changed in jdk9 to always return false (although the VM still supports -Xbootclasspath/a) no