This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to avoid SegFault in natClass.cc


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]