--- a/langtools/test/jdk/jshell/JdiBadOptionLaunchExecutionControlTest.java Wed Dec 14 16:32:07 2016 +0100
+++ b/langtools/test/jdk/jshell/JdiBadOptionLaunchExecutionControlTest.java Wed Dec 21 20:14:39 2016 -0800
@@ -31,7 +31,6 @@
import org.testng.annotations.Test;
import jdk.jshell.JShell;
-import jdk.jshell.execution.JdiDefaultExecutionControl;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
@@ -44,7 +43,7 @@
public void badOptionLaunchTest() {
try {
JShell.builder()
- .executionEngine(JdiDefaultExecutionControl.launch())
+ .executionEngine("jdi:launch(true)")
.remoteVMOptions("-BadBadOption")
.build();
} catch (IllegalStateException ex) {