Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 120161

Summary: IllegalAccessError at Tomcat startup
Product: [Fedora] Fedora Reporter: Gary Benson <gbenson>
Component: commons-loggingAssignee: Gary Benson <gbenson>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-16 15:32:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114963    

Description Gary Benson 2004-04-06 14:55:54 UTC
An IllegalAccessError is thrown from within commons-logging during
Tomcat startup.  It happens because an anonymous inner class of
o.a.c.l.impl.LogFactoryImpl attempts to access a protected method of
o.a.c.l.impl.LogFactoryImpl's parent class.  I'm not sure whether
libgcj is doing the right thing here: jcf-dump shows the inner class's
superclass as java.lang.Object so by rights it shouldn't be able to
access the protected method that it is trying to.  However, I don't
know whether inner classes have special rights (I'm guessing not) or
whether they should be compiled with their containing class as their
superclass. Need to find a Java god to ask about this one...

Comment 1 Gary Benson 2004-04-16 15:32:12 UTC
This seems to be a bytecode generation issue, since it vanished when I
fixed the thing that was stopping us from using the shared objects.