forked from scalacenter/scalafix
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Scalafix test suite uses `this.getClass.getClassLoader` to lookup symbols from scala-library.jar. In sbt v1.3.x, the default classloader layering strategy changed so that `this.getClass.getClassLoader` only contains Scalafix-defined classes, with classes from dependency classes coming from a parent classloader. This commit makes the tests pass on sbt v1.3.x by enabling forking so that `this.getClass.getClassLoader` is always a flat classloader containing all classes.
- Loading branch information
Olafur Pall Geirsson
committed
Apr 14, 2020
1 parent
94c5c69
commit be6798e
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters