Skip to content

Commit

Permalink
Fix handling of -Astubs=checker.jar/ to make EisopIssue608.java t…
Browse files Browse the repository at this point in the history
…est pass
  • Loading branch information
wmdietl committed Jan 2, 2024
1 parent 8b1a273 commit 8d0b965
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ private void parseAnnotationFiles(List<String> annotationFiles, AnnotationFileTy
// If the file has a prefix of "checker.jar/" then look for the file in the top
// level directory of the jar that contains the checker.
if (path.startsWith("checker.jar/")) {
path = "/" + path.substring("checker.jar/".length());
path = path.substring("checker.jar/".length());
}
try (InputStream in = checker.getClass().getResourceAsStream(path)) {
if (in != null) {
Expand Down

0 comments on commit 8d0b965

Please sign in to comment.