View | Details | Raw Unified | Return to bug 45785
Collapse All | Expand All

(-)D:/projekte/JBossWeb/ExtensionValidator.java (-2 / +2 lines)
Lines 90-96 Link Here
90
            String classpathItem = strTok.nextToken();
90
            String classpathItem = strTok.nextToken();
91
            if (classpathItem.toLowerCase().endsWith(".jar")) {
91
            if (classpathItem.toLowerCase().endsWith(".jar")) {
92
                File item = new File(classpathItem);
92
                File item = new File(classpathItem);
93
                if (item.exists()) {
93
                if (item.exists() && !item.isDirectory()) {
94
                    try {
94
                    try {
95
                        addSystemResource(item);
95
                        addSystemResource(item);
96
                    } catch (IOException e) {
96
                    } catch (IOException e) {
Lines 413-419 Link Here
413
                }
413
                }
414
                File[] files = targetDir.listFiles();
414
                File[] files = targetDir.listFiles();
415
                for (int i = 0; i < files.length; i++) {
415
                for (int i = 0; i < files.length; i++) {
416
                    if (files[i].getName().toLowerCase().endsWith(".jar")) {
416
                    if (files[i].getName().toLowerCase().endsWith(".jar") && !files[i].isDirectory()) {
417
                        try {
417
                        try {
418
                            addSystemResource(files[i]);
418
                            addSystemResource(files[i]);
419
                        } catch (IOException e) {
419
                        } catch (IOException e) {

Return to bug 45785