test/java/rmi/activation/CommandEnvironment/SetChildEnv.java

Print this page

        

*** 97,107 **** // make a "watcher" which listens on a pipe and searches for // the debugExec line while teeing to System.err DebugExecWatcher watcher = DebugExecWatcher.makeWithPipe(); RMID.removeLog(); ! RMID rmid = RMID.createRMID(watcher.otherEnd(), watcher.otherEnd(), true, // debugExec turned on true, port); rmid.start(); --- 97,107 ---- // make a "watcher" which listens on a pipe and searches for // the debugExec line while teeing to System.err DebugExecWatcher watcher = DebugExecWatcher.makeWithPipe(); RMID.removeLog(); ! RMID rmid = RMID.createRMIDOnEphemeralPort(watcher.otherEnd(), watcher.otherEnd(), true, // debugExec turned on true, port); rmid.start();