rhuang18 / defects4j

A Database of Existing Faults to Enable Controlled Testing Studies for Java
MIT License
0 stars 0 forks source link

cannot find symbol when running analyze-project.pl on IO #7

Open rhuang18 opened 8 years ago

rhuang18 commented 8 years ago

Error is caused by running ../analyze-project.pl -p IO -w . in the working directory.

Error message: Diff src/test ed01f165f9bbb7cc : 58db1d1a55827a21 ... OK Diff src/java ed01f165f9bbb7cc : 58db1d1a55827a21 ... OK compile.tests: [javac] /private/tmp/analyze-project.pl_51647_1490756089/build.xml:176: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 76 source files to /private/tmp/analyze-project.pl_51647_1490756089/target/test-classes [javac] /private/tmp/analyze-project.pl_51647_1490756089/src/test/org/apache/commons/io/FileUtilsTestCase.java:309: error: cannot find symbol [javac] assertEquals("", FileUtils.decodeUrl("")); [javac] ^ [javac] symbol: method decodeUrl(String) [javac] location: class FileUtils

FileUtils::decodeUrl is a package-private static method.

rhuang18 commented 8 years ago

[javac] /private/tmp/analyze-project.pl_61101_1490818328/src/test/org/apache/commons/io/FileCleanerTestCase.java:182: error: cannot find symbol [javac] assertEquals(false, FileCleaner.exitWhenFinished); [javac] ^ [javac] symbol: variable exitWhenFinished [javac] location: class FileCleaner

Source code: static volatile boolean exitWhenFinished = false;

rhuang18 commented 8 years ago

The same error occurred to other revision pairs: 587571dde227323b : ef58d2035c9a2354 7bfef476d8a9e082 : 7949b2eaec4b498b 5c13fa7579650c2c : d71a8b3bcd1e28ed