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:
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
-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
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))
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
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
!