Ocasionally buildit fail to build. The command I used is something like this:
bin/buildit localhost prototype
output is following:
[mkdir] Created dir: /home/lynus/java_staff/JikesRVM_test/target/prototype_x86_64_m64-linux/bootimage-writer
[javac] Compiling 12 source files to /home/lynus/java_staff/JikesRVM_test/target/prototype_x86_64_m64-linux/bootimage-writer
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /home/lynus/java_staff/JikesRVM_test/tools/bootImageWriter/src/org/jikesrvm/tools/bootImageWriter/BootImageWriter.java:2965: error: cannot access JikesRVMSupport
[javac] Object vmcons = java.lang.reflect.JikesRVMSupport.createVMConstructor(constructor);
[javac] bad class file: /home/lynus/java_staff/JikesRVM_test/target/prototype_x86_64_m64-linux/rvmrt.jar(java/lang/reflect/JikesRVMSupport.class)
[javac] unable to access file: corrupted zip file
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] 1 error
[javac] 1 warning
/home/lynus/java_staff/JikesRVM_test/build.xml:1675: Compile failed; see the compiler error output for details.
This failure does not happend each time I execute the script. But I noticed that it's likely to happend if I execute 'ant purge' or 'ant real-clean' before this script.
hostjdk: openjdk 1.8_150
ubuntu 16.04 64bit