JBoss Community

Re: jboss-modules usage

created by Ales Justin in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community