RE: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-17 Thread Langer, Christoph
Hi, great, it works, our rmid issue is gone. Thanks Claes for the fix and all for the quick help/resolution. Best regards Christoph > -Original Message- > From: Claes Redestad [mailto:claes.redes...@oracle.com] > Sent: Donnerstag, 16. Februar 2017 17:32 > To: Alan Bateman

Re: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Alan Bateman
Make sense for now, you can also change System.initPhase3 is not trigger eager initialization. I guess the rmid tests must be disabled as otherwise this would have been noticed, it's the odd man because it sets the security manager in its main method rather than on the command line. -Alan On

RE: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Baesken, Matthias
It started showing up ~ 5 / 6 th February (talking about openjdk 9 dev ). Regards, Matthias > -Original Message- > From: Langer, Christoph > Sent: Donnerstag, 16. Februar 2017 17:04 > To: Daniel Fuchs ; nio-...@openjdk.java.net > Cc: Zeller, Arno

Re: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Claes Redestad
Yes, verified that reverting to eager initialization of the system image reader avoids this issue. I guess we need to back this optimization out and see if we can improve things in the future: diff -r 32cb9898b630 src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ---

RE: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Langer, Christoph
The colleagues tell me that it was about two weeks ago. But I guess it's rather a felt experience than a concrete date ;-) > -Original Message- > From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] > Sent: Donnerstag, 16. Februar 2017 17:02 > To: Langer, Christoph

Re: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Alan Bateman
On 16/02/2017 14:52, Daniel Fuchs wrote: : I don't think this has anything to do with JDK-8173607. JDK-8173607 just splitted the JMX RMI Connector out of java.management - and rmid has nothing to do with JMX. rmid doesn't depend on either java.management or java.management.rmi, and I don't

Re: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Daniel Fuchs
On 16/02/17 15:22, Langer, Christoph wrote: Hi Daniel, thanks for your hints - I should probably have seen that myself if I would have had a more thorough look... I'm cc-ing nio-dev, maybe somebody has an idea. I probably won't be able to analyze this short term. No problem. Do you know

RE: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Langer, Christoph
Hi Daniel, thanks for your hints - I should probably have seen that myself if I would have had a more thorough look... I'm cc-ing nio-dev, maybe somebody has an idea. I probably won't be able to analyze this short term. Best regards Christoph > -Original Message- > From: Daniel Fuchs

Re: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Daniel Fuchs
Hi Christoph, It looks like one of the dreaded class initialization cycle issues. If you look at the stack trace, you will see that UnixNativeDispatcher.:609 calls System.loadLibrary at line 611 which later down the road calls the native UnixNativeDispatcher.getcwd command from

rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-16 Thread Langer, Christoph
Hi Daniel, when starting "rmid" from current builds on Linux (and probably other Unix platforms as well) we are currently getting the exception below. It looks as if on that path libnio was not loaded and hence we're getting an UnsatisfiedLinkError. In UnixNativeDispatcher.java one can find a