[PATCH PR42811,4.5 regression] java.lang.ExceptionInInitializerError in ecj1

Dave Korn dave.korn.cygwin@googlemail.com
Sat Feb 6 06:12:00 GMT 2010


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



More information about the Gcc-patches mailing list