You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
goods@yqzhang-PowerEdge-R830:/bigdata/zhangyushan/nonefound/chart/not_localized_result$ defects4j test -w chart1/ -t or
g.jfree.chart.renderer.category.junit.AbstractCategoryItemRendererTests::test2947660
Running ant (compile.tests)................................................ FAIL
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Buildfile: /Volume1/MBFL/defects4j/framework/projects/defects4j.build.xml
initialise:
compile:
[javac] /Volume1/MBFL/defects4j/framework/projects/Chart/Chart.build.xml:56: warning: 'includeantruntime' was not $
et, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 654 source files to /bigdata/zhangyushan/nonefound/chart/not_localized_result/chart1/build
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
[javac] error: Source option 1.4 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.4 is no longer supported. Use 1.6 or later.
BUILD FAILED
/Volume1/MBFL/defects4j/framework/projects/Chart/Chart.build.xml:56: Compile failed; see the compiler error output for
details.
Total time: 0 seconds
Executed command: cd /bigdata/zhangyushan/nonefound/chart/not_localized_result/chart1 && ant -f /Volume1/MBFL/defects4
j/framework/projects/defects4j.build.xml -Dd4j.home=/Volume1/MBFL/defects4j -Dbasedir=/bigdata/zhangyushan/nonefound/ch
art/not_localized_result/chart1 compile.tests 2>&1
Cannot compile test suite! at /Volume1/MBFL/defects4j/framework/bin/d4j/d4j-test line 134.
Compilation failed in require at /Volume1/MBFL/defects4j/framework/bin/defects4j line 155.
I tried to figure out the error with the scripts, but I cannot find the function call to compile_tests().
Java version:
goods@yqzhang-PowerEdge-R830:/bigdata/zhangyushan/nonefound/chart/not_localized_result$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
The text was updated successfully, but these errors were encountered:
The OpenJDK 64-Bit Server VM warning indicates that you are running a Java-8+ compiler. There a multiple reasons for why the versions of java and javac could be different. Can you please check that 1) you have a Java-7 jdk (not just the jre) installed and 2) your environment is configured correctly (check, e.g., javac -version and whether JAVA_HOME is exported correctly).
Hope this helps.
Best,
René
PS The workflow that you described for finding and running a particular test is correct -- it's just a set-up issue.
I use the following commands to run a test case that triggered the bug in
Chart version 1
:And got an error:
I tried to figure out the error with the scripts, but I cannot find the function call to
compile_tests()
.Java version:
The text was updated successfully, but these errors were encountered: