4.0 backport of PR 19870
Matthias Klose
doko@cs.tu-berlin.de
Thu Sep 29 12:53:00 GMT 2005
Ranjit Mathew writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>> Andrew Haley wrote:
> > Ranjit Mathew writes:
> > > Matthias Klose wrote:
> > > > Following the suggested list of backports in PR 24018, trying to
> > > > backport PR 19870 results in failures in the libjava testsuite, all of
> > > > the form
> > > >
> > > > Exception during runtime initialization
> > > > java.lang.ExceptionInInitializerError
> > >
> > > Thanks for taking the trouble Matthias. I just want to let
> > > you know that I've been able to reproduce the problem, but
> > > haven't had the time to investigate further.
> >
> > Ta for the info. I suppose it's possible the patch could be repaired
> > with a minor change, but until then it shouldn't be applied.
>> I had forgotten that the first part of the fix for PR19870
> had a fallout that was reported in PR21844 and fixed by Tom.
>> If I also apply the fix for PR21844, I get a clean testsuite
> run (provided jacks.xfail is updated as indicated in the
> consolidated patch from Matthias) and the testcases for
> these PRs also pass.
I am seeing two test failures (at least, when configured for i486-linux) for:
Running /home/packages/gcc/4.0/gcc-4.0-4.0.2/src/libjava/testsuite/libjava.lang/lang.exp ...
FAIL: PR19870_2 execution - source compiled test
FAIL: PR19870_2 -O3 execution - source compiled test
Exception in thread "main" java.lang.NullPointerException
at gnu.gcj.convert.Output_ASCII.write(java.lang.String, int, int, char[]) (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
at java.io.PrintStream.writeChars(java.lang.String, int, int) (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
at java.io.PrintStream.print(java.lang.String, boolean) (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
at java.io.PrintStream.println(java.lang.String) (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
at PR19870_2$A.foo() (/home/packages/gcc/4.0/gcc-4.0-4.0.2/src/libjava/testsuite/libjava.lang/PR19870_2.java:9)
at PR19870_2.main(java.lang.String[]) (/home/packages/gcc/4.0/gcc-4.0-4.0.2/src/libjava/testsuite/libjava.lang/PR19870_2.java:36)
at gnu.java.lang.MainThread.call_main() (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/home/packages/gcc/4.0/gcc-4.0-4.0.2/build/i486-linux-gnu/libjava/.libs/libgcj.so.6.0.0)
FAIL: PR19870_2 execution - source compiled test
UNTESTED: PR19870_2 output - source compiled test
More information about the Java
mailing list