So long bootclasspath!
Alan.Bateman at oracle.com
Mon Nov 30 16:14:01 UTC 2015
On 30/11/2015 15:35, Stephane Epardaud wrote:
> I tried to compile our code with Java 9 + Jigsaw and gave up after a
> day, because the boot classpath is gone, so I figured well, let's bite
> the bullet and rename our fork, but now our javac code is in
> com.foo.javac and it can't see sun.reflect.annotation that javac uses.
I assume you mean it can't access the types in sun.reflection.annotation
rather than can't see them. In any case, it is a shame that there are
types here that are used in annotation serialization. You can workaround
it by using -XaddExports, documented in JEP 261.
JEP 261 also introduces the upgrade module path. There are still some
TBD on which modules will be upgradeable, I don't know if modules
java.compiler and jdk.compiler will be upgradeable.
More information about the jigsaw-dev