Assertion failure in jikes 1.20 with +U command line arg
Brought to you by:
cabbey,
daveshields
We use the +U command line argument when building jikes rvm with jikes. Our build works with jikes 1.19, but fails with an assertion failure on jikes 1.20.
[dgrove@angmar RVM.classes]$ jikes +U -classpath .:rvmrt.jar Dummy.java
jikes: symbol.h:1110: bool TypeSymbol::IsInner() const: Assertion `(! IsLocal() && ! Anonymous()) || (IsNested() && ! ACC_STATIC())' failed.
I'm attempting to build Jikes RVM 2.3.2 on linux/x86. This release of Jikes RVM uses classpath 0.08.
The +U may or may not be significant. If I give the same command without +U, then jikes does not fail.
However, it may not be seeing the problematic source file, as the reason we use +U is that we want to see different versions of some of the files that are in rvmrt.jar that come from the classpath libraries.
There is now a tar file at
http://www-124.ibm.com/developerworks/oss/jikesrvm/sanityResults/break-jikes-1.20.tar.gz
If you grab this, and then do the command jikes +U -cp rvmrt.jar Dummy.java you will get an assertion failure from jikes 1.20. It works with jikes 1.19.
--dave
Logged In: YES
user_id=5267
FYI, this is still an issue in Jikes 1.22. When we back
down to
1.18 our code compiles fine (we also compile our code with
with JBuilder,
which doesn't complain.)