Retrieving PLATFORM_CLASS_PATH from file manager

Jayaprakash Arthanareeswaran jarthana at in.ibm.com
Sat Sep 12 19:16:50 UTC 2015



Hello experts,

With JDK 9, some of JDT Core tests have started failing. The failing tests
are in the JSR 199 area, where we test Eclipse's compiler in a mixed mode
with Javac's StandardJavaFileManager.

standardJavaFileManager.getLocation(StandardLocation.PLATFORM_CLASS_PATH);

Until JDK 8, this used to return rt.jar and other jars but not anymore. I
expected this to return the path to the bootmodules.jimage just like the
system property "sun.boot.class.path".

Is this behavior expected?

Regards,
Jay


More information about the jigsaw-dev mailing list