bundles/org.apache.jasper.glassfish/src/org/apache/jasper/JspC.java
private ClassLoader initSystemClassLoader() throws IOException {

        String sysClassPath = getSystemClassPath();
        if (sysClassPath == null) {
            return null;
        }

        ArrayList<URL> urls = new ArrayList<URL>();
        StringTokenizer tokenizer = new StringTokenizer(sysClassPath,
                                                        File.pathSeparator);
        while (tokenizer.hasMoreTokens()) {
            urls.add(new File(tokenizer.nextToken()).toURL());
        }

        if (urls.size() == 0) {
            return null;
        }

        URL urlsArray[] = new URL[urls.size()];
        urls.toArray(urlsArray);

        return new URLClassLoader(urlsArray, this.getClass().getClassLoader());
    }
private ClassLoader initSystemClassLoader() throws IOException {

        String sysClassPath = getSystemClassPath();
        if (sysClassPath == null) {
            return null;
        }

        ArrayList<URL> urls = new ArrayList<URL>();
        StringTokenizer tokenizer = new StringTokenizer(sysClassPath,
                                                        File.pathSeparator);
        while (tokenizer.hasMoreTokens()) {
            urls.add(new File(tokenizer.nextToken()).toURL());
        }

        if (urls.size() == 0) {
            return null;
        }

        URL urlsArray[] = new URL[urls.size()];
        urls.toArray(urlsArray);

        return new URLClassLoader(urlsArray, this.getClass().getClassLoader());
    }
private ClassLoader initSystemClassLoader ( ) throws IOException { String sysClassPath = getSystemClassPath ( ) ; if ( sysClassPath == null ) { return null ; } ArrayList < URL > urls = new ArrayList < URL > ( ) ; StringTokenizer tokenizer = new StringTokenizer ( sysClassPath , File . pathSeparator ) ; while ( tokenizer . hasMoreTokens ( ) ) { urls . add ( new File ( tokenizer . nextToken ( ) ) . toURL ( ) ) ; } if ( urls . size ( ) == 0 ) { return null ; } URL urlsArray [ ] = new URL [ urls . size ( ) ] ; urls . toArray ( urlsArray ) ; return new URLClassLoader ( urlsArray , this . getClass ( ) . getClassLoader ( ) ) ; }
START SJSAS 6327357
START SJSAS 6327357