Hmm, I'm getting something like it. How do you now that he is loading the inner class in a separate classloader? Is it something to do with it being inner?
I also have a class, which instantiates an inner.class, where the inner class is inner in the class instantiating it. It compiles fine, and the class and inner class is deployed in the same jarfile? But at runtime, I get the following exception: java.lang.IllegalAccessError: tried to access class dk.nve.fibernet.nablegw.model.MetadataDB$CategoryCompareCategoryComparator from class dk.nve.fibernet.nablegw.model.MetadataDB How can any of these two classes be loaded in another classloader? If it really is the classloader that is the issue, what can I then do, to make them load from same classloader? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842023#3842023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842023 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user