[jboss-dev-forums] [JBoss AS7 Development] - Re: jboss-modules usage
Ales Justin
do-not-reply at jboss.com
Fri Sep 24 08:06:20 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/563515#563515
--------------------------------------------------------------
> 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);
> }
I'll try to get past this by fallback loader.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/563515#563515]
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/8f9b55c6/attachment.html
More information about the jboss-dev-forums
mailing list