test/jdk/jshell/UserJDIUserRemoteTest.java

Print this page

        

*** 21,31 **** * questions. */ /* * @test ! * @bug 8160128 8159935 * @summary Tests for Aux channel, custom remote agents, custom JDI implementations. * @build KullaTesting ExecutionControlTestBase * @run testng UserJDIUserRemoteTest */ import java.io.ByteArrayOutputStream; --- 21,31 ---- * questions. */ /* * @test ! * @bug 8160128 8159935 8164518 * @summary Tests for Aux channel, custom remote agents, custom JDI implementations. * @build KullaTesting ExecutionControlTestBase * @run testng UserJDIUserRemoteTest */ import java.io.ByteArrayOutputStream;
*** 157,167 **** opts.add("-classpath"); opts.add(System.getProperty("java.class.path") + System.getProperty("path.separator") + System.getProperty("user.dir")); JDIInitiator jdii = new JDIInitiator(port, ! opts, REMOTE_AGENT, true); VirtualMachine vm = jdii.vm(); Process process = jdii.process(); List<Consumer<String>> deathListeners = new ArrayList<>(); deathListeners.add(s -> env.closeDown()); --- 157,167 ---- opts.add("-classpath"); opts.add(System.getProperty("java.class.path") + System.getProperty("path.separator") + System.getProperty("user.dir")); JDIInitiator jdii = new JDIInitiator(port, ! opts, REMOTE_AGENT, false, true); VirtualMachine vm = jdii.vm(); Process process = jdii.process(); List<Consumer<String>> deathListeners = new ArrayList<>(); deathListeners.add(s -> env.closeDown());