Buggy code:
public class BorlandDeploymentTool extends GenericDeploymentTool implements ExecuteStreamHandler { public static final String PUBLICID_BORLAND_EJB = "-////Inprise<seq2seq4repair_space>Corporation////DTD<seq2seq4repair_space>Enterprise<seq2seq4repair_space>JavaBeans<seq2seq4repair_space>1.1////EN" ; protected static final String DEFAULT_BAS45_EJB11_DTD_LOCATION = "//com//inprise//j2ee//xml//dtds//ejb-jar.dtd" ; protected static final String DEFAULT_BAS_DTD_LOCATION = "//com//inprise//j2ee//xml//dtds//ejb-inprise.dtd" ; protected static final String BAS_DD = "ejb-inprise.xml" ; protected static final String BES_DD = "ejb-borland.xml" ; protected static final String JAVA2IIOP = "java2iiop" ; protected static final String VERIFY = "com.inprise.ejb.util.Verify" ; private String jarSuffix = "-ejb.jar" ; private String borlandDTD ; private boolean java2iiopdebug = false ; private String java2iioparams = null ; private boolean generateclient = false ; static final int BES = 5 ; static final int BAS = 4 ; private int version = BorlandDeploymentTool . BAS ; private boolean verify = true ; private String verifyArgs = "" ; private Hashtable genfiles = new Hashtable ( ) ; public void setDebug ( boolean debug ) { } public void setVerify ( boolean verify ) { } public void setSuffix ( String inString ) { } public void setVerifyArgs ( String args ) { } public void setBASdtd ( String inString ) { } public void setGenerateclient ( boolean b ) { } public void setVersion ( int version ) { } public void setJava2iiopParams ( String params ) { } protected DescriptorHandler getBorlandDescriptorHandler ( final File srcDir ) { } protected void addVendorFiles ( Hashtable ejbFiles , String ddPrefix ) { } File getVendorOutputJarFile ( String baseName ) { } private void verifyBorlandJar ( File sourceJar ) { } private void verifyBorlandJarV5 ( File sourceJar ) { } private void verifyBorlandJarV4 ( File sourceJar ) { } private void generateClient ( File sourceJar ) { } private void buildBorlandStubs ( Iterator ithomes ) { Execute execTask = null ; execTask = new Execute ( this ) ; Project project = getTask ( ) . getProject ( ) ; execTask . setAntRun ( project ) ; execTask . setWorkingDirectory ( project . getBaseDir ( ) ) ; Commandline commandline = new Commandline ( ) ; commandline . setExecutable ( BorlandDeploymentTool . JAVA2IIOP ) ; if ( java2iiopdebug ) { commandline . createArgument ( ) . setValue ( "-VBJdebug" ) ; } commandline . createArgument ( ) . setValue ( "-VBJclasspath" ) ; commandline . createArgument ( ) . setPath ( getCombinedClasspath ( ) ) ; commandline . createArgument ( ) . setValue ( "-list_files" ) ; commandline . createArgument ( ) . setValue ( "-no_tie" ) ; if ( ( java2iioparams ) != null ) { log ( ( ( "additional<seq2seq4repair_space>" + ( java2iioparams ) ) + "<seq2seq4repair_space>to<seq2seq4repair_space>java2iiop<seq2seq4repair_space>" ) , 0 ) ; <START_BUG> commandline . createArgument ( ) . setValue ( java2iioparams ) ; <END_BUG> } commandline . createArgument ( ) . setValue ( "-root_dir" ) ; commandline . createArgument ( ) . setValue ( getConfig ( ) . srcDir . getAbsolutePath ( ) ) ; commandline . createArgument ( ) . setValue ( "-compile" ) ; while ( ithomes . hasNext ( ) ) { commandline . createArgument ( ) . setValue ( ithomes . next ( ) . toString ( ) ) ; } try { log ( "Calling<seq2seq4repair_space>java2iiop" , MSG_VERBOSE ) ; log ( commandline . describeCommand ( ) , MSG_DEBUG ) ; execTask . setCommandline ( commandline . getCommandline ( ) ) ; int result = execTask . execute ( ) ; if ( Execute . isFailure ( result ) ) { String msg = ( "Failed<seq2seq4repair_space>executing<seq2seq4repair_space>java2iiop<seq2seq4repair_space>(ret<seq2seq4repair_space>code<seq2seq4repair_space>is<seq2seq4repair_space>" + result ) + ")" ; throw new BuildException ( msg , getTask ( ) . getLocation ( ) ) ; } } catch ( IOException e ) { log ( ( "java2iiop<seq2seq4repair_space>exception<seq2seq4repair_space>:" + ( e . getMessage ( ) ) ) , MSG_ERR ) ; throw new BuildException ( e , getTask ( ) . getLocation ( ) ) ; } } protected void writeJar ( String baseName , File jarFile , Hashtable files , String publicId ) throws BuildException { } private String toClass ( String filename ) { } private String toClassFile ( String filename ) { } public void start ( ) throws IOException { } public void stop ( ) { } public void setProcessInputStream ( OutputStream param1 ) throws IOException { } public void setProcessOutputStream ( InputStream is ) throws IOException { } public void setProcessErrorStream ( InputStream is ) throws IOException { } }

Fix:
commandline . createArgument ( ) . setLine ( java2iioparams ) ;