Assertion failed in expr.cpp
Brought to you by:
cabbey,
daveshields
I've not been able to locate the file which causes
the error, but it occurs on all our four codebases:
Assertion failed: ThisVariable() && (ThisVariable() -> ACC_STATIC() ? this_type -> static_initializer_method : (this_type -> FindMethodSymbol(control.block_init_name_symbol))), file expr.cpp, line 3910
The assertion fails with the latest CVS HEAD version.
This tiny test class reproduces the error:
public class Test
{
public Test() {
}
public static class Base {
private Base() {
}
}
public static class Sub extends Base {
private Sub() {
}
}
}
See
http://www-124.ibm.com/pipermail/jikes-dev/2004-March/004185.html
Committed a patch to CVS - it was my oversight, since synthetic placeholder types for private constructor accessors are created on the anonymous class code path.
Thanks!
I can confirm that this bug is fixed, so we could close it.
stein@xtramind.com