Patch to avoid SegFault in natClass.cc
Tom Tromey
tromey@redhat.com
Wed Jul 18 11:32:00 GMT 2001
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> public class A {
Jeff> static B b;
Jeff> public static void main(String[] args) {
Jeff> System.out.println(b instanceof B);
Jeff> }
Jeff> }
Jeff> class B {
Jeff> static {
Jeff> System.out.println("Initialized");
Jeff> }
Jeff> }
Jeff, could you check this in on the trunk?
If so, put it in testsuite/libgcj.lang and make sure to xfail it.
This problem is now fixed on the branch, but for the trunk I only
submitted a PR.
Tom
More information about the Java
mailing list