[jboss-dev-forums] [JBoss AS7 Development] - Re: jboss-modules usage

Ales Justin do-not-reply at jboss.com
Fri Sep 24 07:47:43 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: jboss-modules usage"

To view the discussion, visit: http://community.jboss.org/message/563510#563510

--------------------------------------------------------------
I would also need this filtering to be more flexible -- additional "system" packages ;-):

private Class<?> performLoadClass(String className, boolean exportsOnly, final boolean resolve) throws ClassNotFoundException {

        if (className == null) {
            throw new IllegalArgumentException("name is null");
        }
        if (className.startsWith("java.") || className.startsWith("sun.reflect.")) {
            // always delegate to system
            return findSystemClass(className);
        }
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563510#563510]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100924/d68ea20d/attachment.html 


More information about the jboss-dev-forums mailing list