Skip to content

Conversation

@smarter
Copy link
Member

@smarter smarter commented Oct 21, 2019

In bbfe8a3 I switched javaOptions to
use the jars from dotty-compiler instead of dotty-compiler-bootstrapped,
but that means we never actually put the bootstrapped compiler on the
classpath which is of course wrong. Fixed by making javaOptions just
call packageAll.value which will get the correct mapping depending on
whether we're in the non-bootstrapped or bootstrapped project, and
dotty-staging/javaOptions now simply forwards to
dotty-compiler-bootstrapped/javaOptions which means we can get rid of
commonDottyJarClasspathSettings.

Also simplified javaOptions in general.

In bbfe8a3 I switched javaOptions to
use the jars from dotty-compiler instead of dotty-compiler-bootstrapped,
but that means we never actually put the bootstrapped compiler on the
classpath which is of course wrong. Fixed by making javaOptions just
call `packageAll.value` which will get the correct mapping depending on
whether we're in the non-bootstrapped or bootstrapped project, and
dotty-staging/javaOptions now simply forwards to
dotty-compiler-bootstrapped/javaOptions which means we can get rid of
commonDottyJarClasspathSettings.

Also simplified javaOptions in general.
@smarter
Copy link
Member Author

smarter commented Oct 23, 2019

Merging this now because the longer this isn't fixed, the higher the risk we break bootstrapped tests without realizing it.

@smarter smarter merged commit 94f889f into scala:master Oct 23, 2019
@smarter smarter deleted the fix-test-run branch October 23, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants