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 - IllegalAccessError at Tomcat startup
Summary: IllegalAccessError at Tomcat startup
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: commons-logging
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gary Benson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC2Target
TreeView+ depends on / blocked
 
Reported: 2004-04-06 14:55 UTC by Gary Benson
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-16 15:32:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.