Re: Fixes in the jlink tool

2015-10-07 Thread Jean-Francois Denise
Hi Andrei, I will look at your contribution. Didn’t you add the same issue twice? Thanks. JF On 6 Oct 2015, at 19:35, Andrei Eremeev wrote: > Resending. I am covered by the OCA; so I can contribute to OpenJDK. > > Best regards, > Andrei Eremeev > > Tuesday, October

Re: jlink plugin experiment to improve jake startup time

2015-10-07 Thread Claes Redestad
Thanks! This looks much better than I naively expected, especially w.r.t. footprint, and I probably wouldn't have asked/suggested what I did if I'd gotten the attachement the first time around (although I'd prefer some native memory measurement over "heap-after-GC", this should be indicative

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Jonathan Gibbons
Yes, the message says that "JDevJavaCompiler ... cannot access ... com.sun.tools.javac.api.JavacTool" and indeed, com.sun.tools.javac.api is not a supported public API. Here's the standard comment from the head of the file: * This is NOT part of any supported API. * If you write code that

Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Keimpe Bronkhorst
It is possible in JDK8 and before to run JSR199 compilations using a class loader that loads from tools.jar. I can't do something similar in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". Does this mean you can

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Jonathan Gibbons
On 10/07/2015 06:01 PM, Keimpe Bronkhorst wrote: The underlying exception I get is: "Class oracle.jdevimpl.javacompiler.JDevJavaCompiler can not access a member of class com.sun.tools.javac.api.JavacTool (module jdk.compiler) with modifiers "public static", module jdk.compiler does not

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Keimpe Bronkhorst
The underlying exception I get is: "Class oracle.jdevimpl.javacompiler.JDevJavaCompiler can not access a member of class com.sun.tools.javac.api.JavacTool (module jdk.compiler) with modifiers "public static", module jdk.compiler does not export com.sun.tools.javac.api to " Will there be a