This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d8ec66  Fix ClassPathTest in ide/api.java.classpath module
     new b023333  Merge pull request #1320 from blackleg/fix_classpath_test
9d8ec66 is described below

commit 9d8ec6683c10cabc77b3a3656eec92f605235cde
Author: Hector Espert <[email protected]>
AuthorDate: Mon Jun 24 20:28:36 2019 +0200

    Fix ClassPathTest in ide/api.java.classpath module
---
 .../test/unit/src/org/netbeans/api/java/classpath/ClassPathTest.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/ide/api.java.classpath/test/unit/src/org/netbeans/api/java/classpath/ClassPathTest.java
 
b/ide/api.java.classpath/test/unit/src/org/netbeans/api/java/classpath/ClassPathTest.java
index b99a80b..1eaf4f1 100644
--- 
a/ide/api.java.classpath/test/unit/src/org/netbeans/api/java/classpath/ClassPathTest.java
+++ 
b/ide/api.java.classpath/test/unit/src/org/netbeans/api/java/classpath/ClassPathTest.java
@@ -655,10 +655,7 @@ public class ClassPathTest extends NbTestCase {
             try {
                 final Class<?> c = loader.loadClass(className);
                 noLoaded++;
-            } catch (ClassNotFoundException e) {
-                noFailed++;
-            }
-            catch (NoClassDefFoundError e) {
+            } catch (ClassNotFoundException | NoClassDefFoundError | 
SecurityException e) {
                 noFailed++;
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to