The following program causes an assertion failure in javac 1.3-beta:
class Top {
int x;
class Dummy {
Dummy(Object o) {}
}
class Inside extends Dummy {
Inside() {
super(new Object() { int r = x; }); // javac incorrect error msg
}
}
}
william.maddox@Eng 1999-10-06
class Top {
int x;
class Dummy {
Dummy(Object o) {}
}
class Inside extends Dummy {
Inside() {
super(new Object() { int r = x; }); // javac incorrect error msg
}
}
}
william.maddox@Eng 1999-10-06