--- old/test/jdk/jshell/UserExecutionControlTest.java 2016-07-15 00:13:48.025759891 -0700 +++ new/test/jdk/jshell/UserExecutionControlTest.java 2016-07-15 00:13:47.936757637 -0700 @@ -23,13 +23,14 @@ /* * @test - * @bug 8156101 + * @bug 8156101 8159935 * @summary Tests for ExecutionControl SPI - * @build KullaTesting LocalExecutionControl ExecutionControlTestBase + * @build KullaTesting ExecutionControlTestBase * @run testng UserExecutionControlTest */ +import jdk.jshell.execution.LocalExecutionControl; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; import org.testng.annotations.BeforeMethod; @@ -40,7 +41,7 @@ @BeforeMethod @Override public void setUp() { - setUp(new LocalExecutionControl()); + setUp(builder -> builder.executionEngine(LocalExecutionControl.create())); } public void verifyLocal() throws ClassNotFoundException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException {