Referring to a different --system

2017-03-09 Thread Jayaprakash Artanareeswaran
Hello, I remember there was an open issue about not being able to use a different JDK 9 (different than the current one) for class lookup. I raised this question some time back and the following solution was suggested:

hg: jigsaw/jake/jdk: 2 new changesets

2017-03-09 Thread alan . bateman
Changeset: c0dde5abe5ba Author:alanb Date: 2017-03-09 18:44 + URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/c0dde5abe5ba Layer::modules is slow ! src/java.base/share/classes/java/lang/reflect/Layer.java Changeset: 2295afd5985c Author:alanb Date: 2017-03-09

Re: javac unzips class files from jars on class path into output directory

2017-03-09 Thread Jonathan Gibbons
-implicit:none is also a good solution, but which solution is best depends on your specific situation (i.e. there is no one "best" for everyone.) With -implicit:none, you are allowing javac to determine which kind of file to read (source or class) when more than one kind is available for any

Re: Controller ensureInLayer is slow when using addReads/addOpens for Layers with large numbers of modules

2017-03-09 Thread Alan Bateman
On 09/03/2017 16:09, Thomas Watson wrote: : Sorry, my mail system adds stuff that the mailing list doesn't like, let me try this again: The Controller ensureInLayer method has this. private void ensureInLayer(Module source) { if (!layer.modules().contains(source))

Re: Controller ensureInLayer is slow when using addReads/addOpens for Layers with large numbers of modules

2017-03-09 Thread Alan Bateman
There wasn't any text in your mail (don't know if this was intentional or not). In any case, this is trivially improved, it just hasn't come up before, probably because the Controller API is somewhat niche. -Alan

hg: jigsaw/jake/jdk: 2 new changesets

2017-03-09 Thread alan . bateman
Changeset: 76dd36f621f4 Author:alanb Date: 2017-03-09 09:31 + URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/76dd36f621f4 Further cleanup of --permit-illegal-access ! src/java.base/share/classes/jdk/internal/module/IllegalAccessLogger.java !