Skip to content

Commit

Permalink
JavaSearchBugsTests2: do not add jar to classpath before creating
Browse files Browse the repository at this point in the history
Avoids to log NoSuchFileException
  • Loading branch information
jukzi committed Dec 18, 2024
1 parent 5e40502 commit 445c721
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@ public void testBug478042_005() throws Exception {
" public void fooInt() {}\n" +
"}"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down Expand Up @@ -2241,7 +2241,7 @@ public void testBug478042_006() throws Exception {
" }\n" +
"}\n"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down Expand Up @@ -2274,7 +2274,7 @@ public void testBug478042_007() throws Exception {
" }\n" +
"}\n"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down Expand Up @@ -2537,7 +2537,7 @@ public void testBug483650_005() throws Exception {
" public void fooInt() {}\n" +
"}"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down Expand Up @@ -2576,7 +2576,7 @@ public void testBug483650_006() throws Exception {
" }\n" +
"}\n"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down Expand Up @@ -2614,7 +2614,7 @@ public void testBug483650_007() throws Exception {
" }\n" +
"}\n"
}, p.getProject().getLocation().append("lib478042.jar").toOSString(),
new String[] { p.getProject().getLocation().append("lib478042.jar").toOSString() },
null,
CompilerOptions.getFirstSupportedJavaVersion());
refresh(p);

Expand Down

0 comments on commit 445c721

Please sign in to comment.