RE: Use classes in unnamed module that are also contained in a JDK platform/runtime module

2017-07-06 Thread Langer, Christoph
Hi Alex, > On 7/4/2017 12:02 AM, Langer, Christoph wrote: > > I have some piece of software that we ship as a jar file and which > > will hence run on a JDK 9 in the unnamed module. However, this jar > > file contains a package that is also contained in our JDK image in a > > module that is always

Re: Use classes in unnamed module that are also contained in a JDK platform/runtime module

2017-07-06 Thread Alex Buckley
Hi Christoph, On 7/4/2017 12:02 AM, Langer, Christoph wrote: I have some piece of software that we ship as a jar file and which will hence run on a JDK 9 in the unnamed module. However, this jar file contains a package that is also contained in our JDK image in a module that is always part of th

Re: Module in JDK image as platform module or loaded by application class loader?

2017-07-06 Thread Alan Bateman
On 06/07/2017 13:03, Langer, Christoph wrote: Hi there, for our JDK 9 image the jtreg test jdk/modules/etc/VerifyModuleDelegation has unveiled a problem. The issue is that we introduced a few modules that are defined as a platform module. One of these modules requires jdk.attach which is ne

Module in JDK image as platform module or loaded by application class loader?

2017-07-06 Thread Langer, Christoph
Hi there, for our JDK 9 image the jtreg test jdk/modules/etc/VerifyModuleDelegation has unveiled a problem. The issue is that we introduced a few modules that are defined as a platform module. One of these modules requires jdk.attach which is neither boot nor platform. The code within the modu