Skip to content

Commit 2f899f6

Browse files
hinermctrueden
authored andcommitted
JavaEngineTest: remove com.sun.tools use
1 parent cf5607b commit 2f899f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scijava/plugins/scripting/java/JavaEngineTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void assumeJavaC() {
7070
boolean found = false;
7171
try {
7272
final ClassLoader classLoader = getClass().getClassLoader();
73-
found = classLoader.loadClass("com.sun.tools.javac.Main") != null;
73+
found = classLoader.loadClass("javax.tools.ToolProvider") != null;
7474
}
7575
catch (final Throwable t) {
7676
// NB: No action needed.

0 commit comments

Comments
 (0)