This is the mail archive of the java-discuss@sourceware.cygnus.com 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: Re: jc1 segfaults in resolve_qualified_expression_name


  >
  > The best thing to do is to file a PR, using this URL
  > http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl. You can include the
  > Java file in the PR, as far as you're willing to have other people see
  > it and as far as it's not something that will taint people looking at
  > it (it would be a bad idea to file a Sun's JDK source file, for
  > example.)
  > 
  > If those two conditions can't be satisfied, I'm afraid you'll have to
  > work the original file out in order to isolate the bug and file that
  > instead.
  > 
  > Let me know if you're having trouble using the bug tracking system
  > (Gnat) we rely on.
  > 
  > Thanks for the bug report.
  > 
  >./A 
 
I will submit this via gnats, but I got it down to a very short test case:
Here it is (this segfaults jc1):

public final class Foo {
    public static void main(String[] args) {
        Object o = args;
        int[]  a;
        if (!(o instanceof int[]) || (a = (int[])o).length != 2) {
        }
    }
}

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