PATCH: Fix Java compilation crash

Tom Tromey tromey@redhat.com
Fri May 31 15:34:00 GMT 2002


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

Mark> The Java compiler was crashing on this test case:

Thanks.

Mark> Java people, I have no idea how to add a Java regression test.
Mark> You might want to take this test case and stick it in the
Mark> testsuite somewhere...

I'll try to get to it soon.  But FYI:

Regressions for the runtime go in libjava/testsuite/libjava.lang.
You can pick the name, though there is a general trend of naming the
file after the PR if there is one.

Regressions for the library typically go in Mauve.

Tests for the compiler itself go in libjava/testsuite/libjava.compile.
Programs here are run through the compiler only and aren't invoked.

JNI tests have their own directory too.

The permissible `.xfail' file contents are documented in
testsuite/lib/libjava.exp, in a comment just before the `test_libjava'
proc.

Tom



More information about the Java mailing list