test/jdk/jshell/JDIListeningExecutionControlTest.java
Print this page
*** 21,46 ****
* questions.
*/
/*
* @test
! * @bug 8131029
* @summary Tests for alternate JDI connector -- listening
! * @modules jdk.jshell/jdk.internal.jshell.jdi
* @build KullaTesting ExecutionControlTestBase
* @run testng JDIListeningExecutionControlTest
*/
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
! import jdk.internal.jshell.jdi.JDIExecutionControl;
@Test
public class JDIListeningExecutionControlTest extends ExecutionControlTestBase {
@BeforeMethod
@Override
public void setUp() {
! setUp(new JDIExecutionControl(false));
}
}
--- 21,46 ----
* questions.
*/
/*
* @test
! * @bug 8131029 8159935 8160127
* @summary Tests for alternate JDI connector -- listening
! * @modules jdk.jshell/jdk.jshell.execution
* @build KullaTesting ExecutionControlTestBase
* @run testng JDIListeningExecutionControlTest
*/
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
! import jdk.jshell.execution.JDIDefaultExecutionControl;
@Test
public class JDIListeningExecutionControlTest extends ExecutionControlTestBase {
@BeforeMethod
@Override
public void setUp() {
! setUp(builder -> builder.executionEngine(JDIDefaultExecutionControl.listen()));
}
}