OutputAnalyzer function ( String ... arg0 ) { ProcessBuilder loc0 = createJavaProcessBuilder ( Utils . addTestJavaOpts ( arg0 ) ) ; return executeProcess ( loc0 ) ; }
executes a test jvm process , waits for it to finish and returns the process output . the default jvm options from jtreg , test.vm.opts and test.java.opts , are added . the java from the test.jdk is used to execute the command . the command line will be like : test.jdk / bin/java test.vm.opts test.java.opts cmds concode_field_sep PlaceHolder placeHolder concode_field_sep String getCommandLine concode_elem_sep String[] getPlatformSpecificVMArgs concode_elem_sep String getProcessLog concode_elem_sep ProcessBuilder createJavaProcessBuilder concode_elem_sep ProcessBuilder createJavaProcessBuilder concode_elem_sep int getProcessId concode_elem_sep OutputAnalyzer executeProcess concode_elem_sep OutputAnalyzer executeProcess concode_elem_sep String getVmInputArguments concode_elem_sep OutputBuffer getOutput concode_elem_sep OutputBuffer getOutput