Buggy code:
public class DependSet extends MatchingTask { private Vector sourceFileSets = new Vector ( ) ; private Vector sourceFileLists = new Vector ( ) ; private Vector targetFileSets = new Vector ( ) ; private Vector targetFileLists = new Vector ( ) ; public DependSet ( ) { } public void addSrcfileset ( FileSet fs ) { } public void addSrcfilelist ( FileList fl ) { } public void addTargetfileset ( FileSet fs ) { } public void addTargetfilelist ( FileList fl ) { } public void execute ( ) throws BuildException { if ( ( ( sourceFileSets . size ( ) ) == 0 ) && ( ( sourceFileLists . size ( ) ) == 0 ) ) { throw new BuildException ( "At<seq2seq4repair_space>least<seq2seq4repair_space>one<seq2seq4repair_space><srcfileset><seq2seq4repair_space>or<seq2seq4repair_space><srcfilelist><seq2seq4repair_space>element<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set" ) ; } if ( ( ( targetFileSets . size ( ) ) == 0 ) && ( ( targetFileLists . size ( ) ) == 0 ) ) { throw new BuildException ( "At<seq2seq4repair_space>least<seq2seq4repair_space>one<seq2seq4repair_space><targetfileset><seq2seq4repair_space>or<seq2seq4repair_space><targetfilelist><seq2seq4repair_space>element<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set" ) ; } long now = new Date ( ) . getTime ( ) ; <START_BUG> if ( new Os ( "windows" ) . eval ( ) ) { <END_BUG> now += 2000 ; } Vector allTargets = new Vector ( ) ; Enumeration enumTargetSets = targetFileSets . elements ( ) ; while ( enumTargetSets . hasMoreElements ( ) ) { FileSet targetFS = ( ( FileSet ) ( enumTargetSets . nextElement ( ) ) ) ; DirectoryScanner targetDS = targetFS . getDirectoryScanner ( project ) ; String [ ] targetFiles = targetDS . getIncludedFiles ( ) ; for ( int i = 0 ; i < ( targetFiles . length ) ; i ++ ) { File dest = new File ( targetFS . getDir ( project ) , targetFiles [ i ] ) ; allTargets . addElement ( dest ) ; if ( ( dest . lastModified ( ) ) > now ) { log ( ( ( "Warning:<seq2seq4repair_space>" + ( targetFiles [ i ] ) ) + "<seq2seq4repair_space>modified<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>future." ) , MSG_WARN ) ; } } } boolean upToDate = true ; Enumeration enumTargetLists = targetFileLists . elements ( ) ; while ( enumTargetLists . hasMoreElements ( ) ) { FileList targetFL = ( ( FileList ) ( enumTargetLists . nextElement ( ) ) ) ; String [ ] targetFiles = targetFL . getFiles ( project ) ; for ( int i = 0 ; i < ( targetFiles . length ) ; i ++ ) { File dest = new File ( targetFL . getDir ( project ) , targetFiles [ i ] ) ; if ( ! ( dest . exists ( ) ) ) { log ( ( ( targetFiles [ i ] ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist." ) , MSG_VERBOSE ) ; upToDate = false ; continue ; } else { allTargets . addElement ( dest ) ; } if ( ( dest . lastModified ( ) ) > now ) { log ( ( ( "Warning:<seq2seq4repair_space>" + ( targetFiles [ i ] ) ) + "<seq2seq4repair_space>modified<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>future." ) , MSG_WARN ) ; } } } if ( upToDate ) { Enumeration enumSourceSets = sourceFileSets . elements ( ) ; while ( upToDate && ( enumSourceSets . hasMoreElements ( ) ) ) { FileSet sourceFS = ( ( FileSet ) ( enumSourceSets . nextElement ( ) ) ) ; DirectoryScanner sourceDS = sourceFS . getDirectoryScanner ( project ) ; String [ ] sourceFiles = sourceDS . getIncludedFiles ( ) ; int i = 0 ; do { File src = new File ( sourceFS . getDir ( project ) , sourceFiles [ i ] ) ; if ( ( src . lastModified ( ) ) > now ) { log ( ( ( "Warning:<seq2seq4repair_space>" + ( sourceFiles [ i ] ) ) + "<seq2seq4repair_space>modified<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>future." ) , MSG_WARN ) ; } Enumeration enumTargets = allTargets . elements ( ) ; while ( upToDate && ( enumTargets . hasMoreElements ( ) ) ) { File dest = ( ( File ) ( enumTargets . nextElement ( ) ) ) ; if ( ( src . lastModified ( ) ) > ( dest . lastModified ( ) ) ) { log ( ( ( ( dest . getPath ( ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>date<seq2seq4repair_space>with<seq2seq4repair_space>respect<seq2seq4repair_space>to<seq2seq4repair_space>" ) + ( sourceFiles [ i ] ) ) , MSG_VERBOSE ) ; upToDate = false ; } } } while ( upToDate && ( ( ++ i ) < ( sourceFiles . length ) ) ) ; } } if ( upToDate ) { Enumeration enumSourceLists = sourceFileLists . elements ( ) ; while ( upToDate && ( enumSourceLists . hasMoreElements ( ) ) ) { FileList sourceFL = ( ( FileList ) ( enumSourceLists . nextElement ( ) ) ) ; String [ ] sourceFiles = sourceFL . getFiles ( project ) ; int i = 0 ; do { File src = new File ( sourceFL . getDir ( project ) , sourceFiles [ i ] ) ; if ( ( src . lastModified ( ) ) > now ) { log ( ( ( "Warning:<seq2seq4repair_space>" + ( sourceFiles [ i ] ) ) + "<seq2seq4repair_space>modified<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>future." ) , MSG_WARN ) ; } if ( ! ( src . exists ( ) ) ) { log ( ( ( sourceFiles [ i ] ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist." ) , MSG_VERBOSE ) ; upToDate = false ; break ; } Enumeration enumTargets = allTargets . elements ( ) ; while ( upToDate && ( enumTargets . hasMoreElements ( ) ) ) { File dest = ( ( File ) ( enumTargets . nextElement ( ) ) ) ; if ( ( src . lastModified ( ) ) > ( dest . lastModified ( ) ) ) { log ( ( ( ( dest . getPath ( ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>date<seq2seq4repair_space>with<seq2seq4repair_space>respect<seq2seq4repair_space>to<seq2seq4repair_space>" ) + ( sourceFiles [ i ] ) ) , MSG_VERBOSE ) ; upToDate = false ; } } } while ( upToDate && ( ( ++ i ) < ( sourceFiles . length ) ) ) ;

Fix:
if ( Os . isFamily ( "windows" ) ) {