You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2019/07/26 20:22:19 UTC
[netbeans] branch master updated: Fix ClassPathTest in
ide/api.java.classpath module
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 <he...@gmail.com>
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists