- removed milestone
- changed component to Implementation Class Loader
-
assigned issue to
Problem importing implementation classes
Issue #545
new
It used to be that by default the Java runtime (rt.jar) was available when importing implementation classes. On my machine when trying to import implementation classes this is no longer the case. When I manually add “rt.jar” it works, i.e., I can import an implementation class, e.g. java.util.ArrayList. But then I can’t import any operations…
Comments (1)
-
- Log in to comment
This was introduced with commit 3beef96. The old system property
sun.boot.class.path
provides the class path of the JRE/JDK whereasjava.class.path
does not.Java 9 and later don’t have a single
rt.jar
anymore, so it requires a different solution to get the available Java classes (from the base module).See:
https://stackoverflow.com/q/46438557
https://stackoverflow.com/q/41932635