hg: jigsaw/jake/jdk: Add missing @spec/@revised tags for JPMS PR

2017-02-26 Thread mark . reinhold
Changeset: afa342473815 Author:mr Date: 2017-02-26 15:23 + URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/afa342473815 Add missing @spec/@revised tags for JPMS PR ! src/java.base/share/classes/java/lang/ClassLoader.java !

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Doug Simon
> On 26 Feb 2017, at 14:44, Alan Bateman wrote: > > > > On 26/02/2017 13:13, Doug Simon wrote: >> : >> Also, what if there's provider in jdk.internal.vm.compiler itself? Will it >> be loaded along with the providers on my module path? >> > If it has `provides

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Alan Bateman
On 26/02/2017 13:13, Doug Simon wrote: : Also, what if there's provider in jdk.internal.vm.compiler itself? Will it be loaded along with the providers on my module path? If it has `provides com.oracle.truffle.api.object.LayoutFactory` then it will be located too. If the provider interface

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Alan Bateman
On 26/02/2017 12:26, Doug Simon wrote: : If that's the case, does that mean I could pick up any provider on the app class path? Seems a little risky. Is there some way to confine it to modules the service user trusts (by virtual of being a module in its dependency graph)? You can restrict

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Doug Simon
> On 26 Feb 2017, at 13:26, Doug Simon wrote: > >> >> On 26 Feb 2017, at 13:22, Doug Simon wrote: >> >>> >>> On 26 Feb 2017, at 13:08, Alan Bateman wrote: >>> >>> On 26/02/2017 11:20, Doug Simon wrote: >>> While

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Doug Simon
> On 26 Feb 2017, at 13:22, Doug Simon wrote: > >> >> On 26 Feb 2017, at 13:08, Alan Bateman wrote: >> >> On 26/02/2017 11:20, Doug Simon wrote: >> >>> While trying to get upstream Graal working again with JDK 9, I'm having >>> problems with

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Doug Simon
> On 26 Feb 2017, at 13:08, Alan Bateman wrote: > > On 26/02/2017 11:20, Doug Simon wrote: > >> While trying to get upstream Graal working again with JDK 9, I'm having >> problems with service loading. Graal uses a LayoutFactory service defined by >> Truffle where

Re: Problem loading Truffle service providers in Graal

2017-02-26 Thread Alan Bateman
On 26/02/2017 11:20, Doug Simon wrote: While trying to get upstream Graal working again with JDK 9, I'm having problems with service loading. Graal uses a LayoutFactory service defined by Truffle where the latter also includes a provider. The relevant parts of the module-info descriptors

Problem loading Truffle service providers in Graal

2017-02-26 Thread Doug Simon
While trying to get upstream Graal working again with JDK 9, I'm having problems with service loading. Graal uses a LayoutFactory service defined by Truffle where the latter also includes a provider. The relevant parts of the module-info descriptors are: module com.oracle.truffle.truffle_api {