Buggy code:
public class WeblogicDeploymentTool extends GenericDeploymentTool { public static final String PUBLICID_EJB11 = "-////Sun<seq2seq4repair_space>Microsystems,<seq2seq4repair_space>Inc.////DTD<seq2seq4repair_space>Enterprise<seq2seq4repair_space>JavaBeans<seq2seq4repair_space>1.1////EN" ; public static final String PUBLICID_EJB20 = "-////Sun<seq2seq4repair_space>Microsystems,<seq2seq4repair_space>Inc.////DTD<seq2seq4repair_space>Enterprise<seq2seq4repair_space>JavaBeans<seq2seq4repair_space>2.0////EN" ; public static final String PUBLICID_WEBLOGIC_EJB510 = "-////BEA<seq2seq4repair_space>Systems,<seq2seq4repair_space>Inc.////DTD<seq2seq4repair_space>WebLogic<seq2seq4repair_space>5.1.0<seq2seq4repair_space>EJB////EN" ; public static final String PUBLICID_WEBLOGIC_EJB600 = "-////BEA<seq2seq4repair_space>Systems,<seq2seq4repair_space>Inc.////DTD<seq2seq4repair_space>WebLogic<seq2seq4repair_space>6.0.0<seq2seq4repair_space>EJB////EN" ; protected static final String DEFAULT_WL51_EJB11_DTD_LOCATION = "//weblogic//ejb//deployment//xml//ejb-jar.dtd" ; protected static final String DEFAULT_WL60_EJB11_DTD_LOCATION = "//weblogic//ejb20//dd//xml//ejb11-jar.dtd" ; protected static final String DEFAULT_WL60_EJB20_DTD_LOCATION = "//weblogic//ejb20//dd//xml//ejb20-jar.dtd" ; protected static final String DEFAULT_WL51_DTD_LOCATION = "//weblogic//ejb//deployment//xml//weblogic-ejb-jar.dtd" ; protected static final String DEFAULT_WL60_51_DTD_LOCATION = "//weblogic//ejb20//dd//xml//weblogic510-ejb-jar.dtd" ; protected static final String DEFAULT_WL60_DTD_LOCATION = "//weblogic//ejb20//dd//xml//weblogic600-ejb-jar.dtd" ; protected static final String DEFAULT_COMPILER = "default" ; protected static final String WL_DD = "weblogic-ejb-jar.xml" ; protected static final String WL_CMP_DD = "weblogic-cmp-rdbms-jar.xml" ; protected static final String COMPILER_EJB11 = "weblogic.ejbc" ; protected static final String COMPILER_EJB20 = "weblogic.ejbc20" ; private String jarSuffix = ".jar" ; private String weblogicDTD ; private String ejb11DTD ; private boolean keepgenerated = false ; private String ejbcClass = null ; private String additionalArgs = "" ; private boolean keepGeneric = false ; private String compiler = null ; private boolean alwaysRebuild = true ; private boolean noEJBC = false ; private boolean newCMP = false ; private Path wlClasspath = null ; public Path createWLClasspath ( ) { } public void setWLClasspath ( Path wlClasspath ) { } public void setCompiler ( String compiler ) { } public void setRebuild ( boolean rebuild ) { } public void setSuffix ( String inString ) { } public void setKeepgeneric ( boolean inValue ) { } public void setKeepgenerated ( String inValue ) { } public void setArgs ( String args ) { } public void setEjbcClass ( String ejbcClass ) { } public String getEjbcClass ( ) { } public void setWeblogicdtd ( String inString ) { } public void setWLdtd ( String inString ) { } public void setEJBdtd ( String inString ) { } public void setOldCMP ( boolean oldCMP ) { } public void setNewCMP ( boolean newCMP ) { } public void setNoEJBC ( boolean noEJBC ) { } protected void registerKnownDTDs ( DescriptorHandler handler ) { } protected DescriptorHandler getWeblogicDescriptorHandler ( final File srcDir ) { } protected void addVendorFiles ( Hashtable ejbFiles , String ddPrefix ) { } File getVendorOutputJarFile ( String baseName ) { } private void buildWeblogicJar ( File sourceJar , File destJar , String publicId ) { org . apache . tools . ant . taskdefs . Java javaTask = null ; if ( noEJBC ) { try { getTask ( ) . getProject ( ) . copyFile ( sourceJar , destJar ) ; if ( ! ( keepgenerated ) ) { sourceJar . delete ( ) ; } return ; } catch ( IOException e ) { throw new BuildException ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>write<seq2seq4repair_space>EJB<seq2seq4repair_space>jar" , e ) ; } } String ejbcClassName = ejbcClass ; try { javaTask = ( ( Java ) ( getTask ( ) . getProject ( ) . createTask ( "java" ) ) ) ; javaTask . setTaskName ( "ejbc" ) ; if ( ejbcClassName == null ) { if ( WeblogicDeploymentTool . PUBLICID_EJB11 . equals ( publicId ) ) { ejbcClassName = WeblogicDeploymentTool . COMPILER_EJB11 ; } else if ( WeblogicDeploymentTool . PUBLICID_EJB20 . equals ( publicId ) ) { ejbcClassName = WeblogicDeploymentTool . COMPILER_EJB20 ; } else { log ( ( ( "Unrecognized<seq2seq4repair_space>publicId<seq2seq4repair_space>" + publicId ) + "<seq2seq4repair_space>-<seq2seq4repair_space>using<seq2seq4repair_space>EJB<seq2seq4repair_space>1.1<seq2seq4repair_space>compiler" ) , MSG_WARN ) ; ejbcClassName = WeblogicDeploymentTool . COMPILER_EJB11 ; } } javaTask . setClassname ( ejbcClassName ) ; javaTask . createArg ( ) . setLine ( additionalArgs ) ; if ( keepgenerated ) { javaTask . createArg ( ) . setValue ( "-keepgenerated" ) ; } if ( ( compiler ) == null ) { String buildCompiler = getTask ( ) . getProject ( ) . getProperty ( "build.compiler" ) ; if ( ( buildCompiler != null ) && ( buildCompiler . equals ( "jikes" ) ) ) { javaTask . createArg ( ) . setValue ( "-compiler" ) ; javaTask . createArg ( ) . setValue ( "jikes" ) ; } } else { if ( ! ( compiler . equals ( WeblogicDeploymentTool . DEFAULT_COMPILER ) ) ) { javaTask . createArg ( ) . setValue ( "-compiler" ) ; <START_BUG> javaTask . createArg ( ) . setValue ( compiler ) ; <END_BUG> } } javaTask . createArg ( ) . setValue ( sourceJar . getPath ( ) ) ; javaTask . createArg ( ) . setValue ( destJar . getPath ( ) ) ; Path classpath = wlClasspath ; if ( classpath == null ) { classpath = getCombinedClasspath ( ) ; } javaTask . setFork ( true ) ; if ( classpath != null ) { javaTask . setClasspath ( classpath ) ; } log ( ( ( ( "Calling<seq2seq4repair_space>" + ejbcClassName ) + "<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( sourceJar . toString ( ) ) ) , MSG_VERBOSE ) ; if ( ( javaTask . executeJava ( ) ) != 0 ) { throw new BuildException ( "Ejbc<seq2seq4repair_space>reported<seq2seq4repair_space>an<seq2seq4repair_space>error" ) ; } } catch ( Exception e ) { String msg = ( ( "Exception<seq2seq4repair_space>while<seq2seq4repair_space>calling<seq2seq4repair_space>" + ejbcClassName ) + ".<seq2seq4repair_space>Details:<seq2seq4repair_space>" ) + ( e . toString ( ) ) ; throw new BuildException ( msg , e ) ; } } protected void writeJar ( String baseName , File jarFile , Hashtable files , String publicId ) throws BuildException { } public void validateConfigured ( ) throws BuildException { } protected boolean isRebuildRequired ( File genericJarFile , File weblogicJarFile ) { } protected ClassLoader getClassLoaderFromJar ( File classjar ) throws IOException { } }

Fix:
javaTask . createArg ( ) . setLine ( compiler ) ;