New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javabootclasspath
supersedes jrt
#10336
javabootclasspath
supersedes jrt
#10336
Conversation
Tested manually with
No automated test because it requires the old It's reasonable to make https://docs.oracle.com/en/java/javase/19/docs/specs/man/javac.html#standard-options |
@lrytz intentionally 2.13.11 |
Something about CI turns my quickie PR into a burner. |
a1fed90
to
f69089c
Compare
Corrected to use Tested bootstrapped Thanks Seth for cancelling the unhappy build. |
on the one hand, this looks reasonable, and thanks @som-snytt for including the manual testing details otoh this whole business isn't business I've been mixed up in before, so I'm not confident in my reviewing. maybe I can interest @retronym |
I think this makes sense and seems unlikely to break existing builds. |
Current 2.13.x gives me
Reverting this PR fixes it. |
#10350 also fixes it. |
I meant to joke that indeed
You just can't run |
javabootclasspath
supersedes jrt
To compile against a JDK 8
rt.jar
, use-javabootclasspath rt.jar -nobootcp
.That disables the
jrt
class path for the ambient JDK, and puts the Scala libraries on the user class path.(Alternatively,
-usebootcp
but list the libraries explicitly on-javabootclasspath
.)Fixes scala/bug#12257