forked from spotbugs/spotbugs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify explicit source compliance for ToolFactory.createScanner() API
This avoids org.eclipse.jdt.core.compiler.InvalidInputException in MarkerUtil.initScanner() where JDT can't parse code that is perfectly compilable because the old API used too low default source level. Fixes spotbugs#2134
- Loading branch information
1 parent
7d6894a
commit 559aad7
Showing
2 changed files
with
11 additions
and
1 deletion.
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