Skip to content

Test locally built scala parser-combinators classes. #13

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

Merged
merged 1 commit into from
Mar 8, 2014

Conversation

gourlaysama
Copy link
Contributor

Somehow, the scala-parser-combinators classes used to run tests were
not the local ones, even though there is no dependency on scala-compiler
nor on anything that depends on scala-parser-combinators.

After some head-scratching, I discovered scala/scala-xml#20. Now I am even
more confused, but at least fork in Test := true does prevent this
evil classloader magic.

Somehow, the scala-parser-combinators classes used to run tests were
not the local ones, even though there is no dependency on scala-compiler
nor on anything that depends on scala-parser-combinators.

After some head-scratching, I discovered scala/scala-xml#20. Now I am even
more confused, but at least `fork in Test := true` does prevent this
evil classloader magic.
@adriaanm
Copy link
Contributor

adriaanm commented Mar 8, 2014

Very sorry about that. I'll add the fork workaround for the black magic to the modules build plugin.

@gkossakowski
Copy link
Contributor

Just a side note: we'll have to debug those issues with classloaders as part of migration of scala compiler to sbt.

adriaanm added a commit that referenced this pull request Mar 8, 2014
Test locally built scala parser-combinators classes.
@adriaanm adriaanm merged commit 6b189ea into scala:master Mar 8, 2014
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.

3 participants