This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH PR42811,4.5 regression] java.lang.ExceptionInInitializerError in ecj1
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 06 Feb 2010 06:29:59 +0000
- Subject: Re: [PATCH PR42811,4.5 regression] java.lang.ExceptionInInitializerError in ecj1
- References: <4B6C9B26.3010106@gmail.com>
On 05/02/2010 22:26, Dave Korn wrote:
> libjava/ChangeLog:
>
> PR java/42811
> * configure.ac (libgcj_spec_lgcj_override): Add undefined reference
> to arbitrary symbol in noncore library.
> (libgcj_spec_lgcj_bc_override): Likewise.
>
> I'm taking this for a bootstrap-and-test cycle on i686-pc-cygwin. Does it
> seem like a reasonable approach?
It caused a regression:
> FAIL: events output
For some reason, a couple of extra jvm event callbacks appeared:
> $ diff -pu events.out .e.o
> --- events.out 2009-03-14 06:47:02.984375000 +0000
> +++ .e.o 2010-02-06 06:04:50.218750000 +0000
> @@ -4,9 +4,9 @@ created JVMTI environment #0
> created JVMTI environment #1
> created JVMTI environment #2
> setting callbacks for envs
> -RequestedEvents:
> +RequestedEvents: VMInit,VMDeath,
> enable VM_INIT for env0, env1, env2
> -RequestedEvents: VMInit,
> +RequestedEvents: VMInit,VMDeath,
> enable VM_DEATH for env1,env2
> RequestedEvents: VMInit,VMDeath,
> enable THREAD_END for env2
There must be something in the noncore library that registers callbacks in
addition to what the test was expecting. But then I'm not sure why they
wouldn't also be registered if the full non-partitioned libgcj was in use.
Until I can figure this out, I guess I don't understand how dependencies work
in java well enough, so patch withdrawn/on hold.
cheers,
DaveK