Buggy code:
public class Javac extends MatchingTask { private static final String FAIL_MSG = "Compile<seq2seq4repair_space>failed;<seq2seq4repair_space>see<seq2seq4repair_space>the<seq2seq4repair_space>compiler<seq2seq4repair_space>error<seq2seq4repair_space>output<seq2seq4repair_space>for<seq2seq4repair_space>details." ; private static final String JAVAC16 = "javac1.6" ; private static final String JAVAC15 = "javac1.5" ; private static final String JAVAC14 = "javac1.4" ; private static final String JAVAC13 = "javac1.3" ; private static final String JAVAC12 = "javac1.2" ; private static final String JAVAC11 = "javac1.1" ; private static final String MODERN = "modern" ; private static final String CLASSIC = "classic" ; private static final String EXTJAVAC = "extJavac" ; private static final FileUtils FILE_UTILS = FileUtils . getFileUtils ( ) ; private Path src ; private File destDir ; private Path compileClasspath ; private Path compileSourcepath ; private String encoding ; private boolean debug = false ; private boolean optimize = false ; private boolean deprecation = false ; private boolean depend = false ; private boolean verbose = false ; private String targetAttribute ; private Path bootclasspath ; private Path extdirs ; private boolean includeAntRuntime = true ; private boolean includeJavaRuntime = false ; private boolean fork = false ; private String forkedExecutable = null ; private boolean nowarn = false ; private String memoryInitialSize ; private String memoryMaximumSize ; private FacadeTaskHelper facade = null ; protected boolean failOnError = true ; protected boolean listFiles = false ; protected File [ ] compileList = new File [ 0 ] ; private Map packageInfos = new HashMap ( ) ; private String source ; private String debugLevel ; private File tmpDir ; private String updatedProperty ; private String errorProperty ; private boolean taskSuccess = true ; private boolean includeDestClasses = true ; public Javac ( ) { } private String assumedJavaVersion ( ) { } public String getDebugLevel ( ) { } public void setDebugLevel ( String v ) { } public String getSource ( ) { } public void setSource ( String v ) { } public Path createSrc ( ) { } protected Path recreateSrc ( ) { } public void setSrcdir ( Path srcDir ) { } public Path getSrcdir ( ) { } public void setDestdir ( File destDir ) { } public File getDestdir ( ) { } public void setSourcepath ( Path sourcepath ) { } public Path getSourcepath ( ) { } public Path createSourcepath ( ) { } public void setSourcepathRef ( Reference r ) { } public void setClasspath ( Path classpath ) { } public Path getClasspath ( ) { } public Path createClasspath ( ) { } public void setClasspathRef ( Reference r ) { } public void setBootclasspath ( Path bootclasspath ) { } public Path getBootclasspath ( ) { } public Path createBootclasspath ( ) { } public void setBootClasspathRef ( Reference r ) { } public void setExtdirs ( Path extdirs ) { } public Path getExtdirs ( ) { } public Path createExtdirs ( ) { } public void setListfiles ( boolean list ) { } public boolean getListfiles ( ) { } public void setFailonerror ( boolean fail ) { } public void setProceed ( boolean proceed ) { } public boolean getFailonerror ( ) { } public void setDeprecation ( boolean deprecation ) { } public boolean getDeprecation ( ) { } public void setMemoryInitialSize ( String memoryInitialSize ) { } public String getMemoryInitialSize ( ) { } public void setMemoryMaximumSize ( String memoryMaximumSize ) { } public String getMemoryMaximumSize ( ) { } public void setEncoding ( String encoding ) { } public String getEncoding ( ) { } public void setDebug ( boolean debug ) { } public boolean getDebug ( ) { } public void setOptimize ( boolean optimize ) { } public boolean getOptimize ( ) { } public void setDepend ( boolean depend ) { } public boolean getDepend ( ) { } public void setVerbose ( boolean verbose ) { } public boolean getVerbose ( ) { } public void setTarget ( String target ) { } public String getTarget ( ) { } public void setIncludeantruntime ( boolean include ) { } public boolean getIncludeantruntime ( ) { } public void setIncludejavaruntime ( boolean include ) { } public boolean getIncludejavaruntime ( ) { } public void setFork ( boolean f ) { } public void setExecutable ( String forkExec ) { } public String getExecutable ( ) { } public boolean isForkedJavac ( ) { } public String getJavacExecutable ( ) { } public void setNowarn ( boolean flag ) { } public boolean getNowarn ( ) { } public Javac . ImplementationSpecificArgument createCompilerArg ( ) { } public String [ ] getCurrentCompilerArgs ( ) { } private String getAltCompilerName ( String anImplementation ) { } public void setTempdir ( File tmpDir ) { } public File getTempdir ( ) { } public void setUpdatedProperty ( String updatedProperty ) { } public void setErrorProperty ( String errorProperty ) { } public void setIncludeDestClasses ( boolean includeDestClasses ) { } public boolean isIncludeDestClasses ( ) { } public boolean getTaskSuccess ( ) { } public void execute ( ) throws BuildException { } protected void resetFileLists ( ) { } protected void scanDir ( File srcDir , File destDir , String [ ] files ) { } public File [ ] getFileList ( ) { } protected boolean isJdkCompiler ( String compilerImpl ) { } protected String getSystemJavac ( ) { } public void setCompiler ( String compiler ) { } public String getCompiler ( ) { } public String getCompilerVersion ( ) { } protected void checkParameters ( ) throws BuildException { } protected void compile ( ) { } public class ImplementationSpecificArgument extends org . apache . tools . ant . util . facade . ImplementationSpecificArgument { public void setCompiler ( String impl ) { } } private void lookForPackageInfos ( File srcDir , File [ ] newFiles ) { for ( int i = 0 ; i < ( newFiles . length ) ; i ++ ) { File f = newFiles [ i ] ; if ( ! ( f . getName ( ) . equals ( "package-info.java" ) ) ) { continue ; } String path = Javac . FILE_UTILS . removeLeadingPath ( srcDir , f ) . replace ( File . separatorChar , '//' ) ; String suffix = "//package-info.java" ; if ( ! ( path . endsWith ( suffix ) ) ) { log ( ( "anomalous<seq2seq4repair_space>package-info.java<seq2seq4repair_space>path:<seq2seq4repair_space>" + path ) , MSG_WARN ) ; continue ; } String pkg = path . substring ( 0 , ( ( path . length ( ) ) - ( suffix . length ( ) ) ) ) ; <START_BUG> packageInfos . put ( pkg , Long . valueOf ( f . lastModified ( ) ) ) ; <END_BUG> } }

Fix:
packageInfos . put ( pkg , new Long ( f . lastModified ( ) ) ) ;