[fedora-java] Regression in libgcj: spurious IncompatibleClassChangeError with BC-compiled code.

Andrew Haley aph at redhat.com
Tue Jul 25 18:17:04 UTC 2006


Vivek Lakshmanan writes:
 > hmmm fedora-devel-java-list was not included in my "reply-to-all".
 > Reposting here:
 > 
 > On Tue, 2006-07-25 at 18:13 +0100, Andrew Haley wrote:
 > > This happens if a class and its superclass are loaded by the boot
 > > classloader.  If one if them is in the precompiled database and one
 > > isn't, we fail this check:
 > > 
 > >       if (   sub->loader != super->loader
 > > 	  || !_Jv_ClassNameSamePackage (sub->name, super->name))
 > > 	{
 > > 	  throw_incompatible_class_change_error (sub->getName ());
 > > 	}
 > > 
 > This is probably a manifestation of this bug. We just installed the
 > latest tomcat5, installed tomcat5-admin-webapps and tomcat5-webapps.
 > Trying to access either of these from the main tomcat5 startup page
 > causes an error. Attaching the catalina log.
 > 
 > Let me know if you need help reproducing the bug.

...

 > Caused by: java.lang.IncompatibleClassChangeError: org.apache.xerces.impl.xpath.regex.Token$ModifierToken

It's the same bug.

Andrew.




More information about the fedora-devel-java-list mailing list