outputStream = new FileOutputStream( JikesRVMSupport.createFileDescriptor(inputDescriptor, false)); inputStream = new FileInputStream( JikesRVMSupport.createFileDescriptor(outputDescriptor, false)); errorStream = new FileInputStream( JikesRVMSupport.createFileDescriptor(errorDescriptor, false));
outputStream = VM_FileSystem.getOutputStream(inputDescriptor); inputStream = VM_FileSystem.getInputStream(outputDescriptor); errorStream = VM_FileSystem.getInputStream(errorDescriptor);
    public VM_Process(String program, String[] args, String[] env, String dirPath) {	pid = exec4(program, args, env, dirPath);	creatingProcessor = VM_Processor.getCurrentProcessor();	// FIXME: check for error creating process	// Create Java streams.	// If the user of this process doesn't close the	// pipes connecting the VM to the process explicitly,	// eventually they will be closed when the stream objects	// are finalized.	outputStream = new FileOutputStream(	    JikesRVMSupport.createFileDescriptor(inputDescriptor, false));	inputStream = new FileInputStream(	    JikesRVMSupport.createFileDescriptor(outputDescriptor, false));	errorStream = new FileInputStream(	    JikesRVMSupport.createFileDescriptor(errorDescriptor, false));    }