This content has been marked as final.
Show 2 replies
-
1. Re: IllegalAccessError
adrian.brock Mar 22, 2002 4:32 PM (in response to jtaft)Have a look at these parts of the spec.
Method resolution
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#86899
Access Control
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#75929
Runtime package
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#72007
In j2ee each jar forms a runtime package. i.e.
it get its own classloader. This means they cannot
access each other's "package private".
Regards,
Adrian -
2. Re: IllegalAccessError
jtaft Mar 22, 2002 4:54 PM (in response to jtaft)Thanks for the info. I had a sneaking suspision that was the case.
thanks again.