summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Clement2018-08-29 16:08:15 -0400
committerAndy Clement2018-08-29 16:08:15 -0400
commit8aeb774d210a42240f2d6d89dd89e947a084fd7f (patch)
tree8d836acd2668f8ea157b73235b755c2d5a23a647
parentdeb181f01c43d03e41b06cddf383503bfe943d8a (diff)
downloadorg.aspectj-8aeb774d210a42240f2d6d89dd89e947a084fd7f.tar.gz
org.aspectj-8aeb774d210a42240f2d6d89dd89e947a084fd7f.tar.xz
org.aspectj-8aeb774d210a42240f2d6d89dd89e947a084fd7f.zip
Generalized exception that might occurHEADmaster
-rw-r--r--weaver/src/org/aspectj/weaver/ltw/LTWWorld.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
index a053acefd..de5a4d854 100644
--- a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
+++ b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
@@ -75,7 +75,7 @@ public class LTWWorld extends BcelWorld implements IReflectionWorld {
this.weavingContext = weavingContext;
try {
classLoaderString = loader.toString();
- } catch (NullPointerException npe) {
+ } catch (Throwable t) {
// Possibly some state in the loader isn't initialized but is used in the toString()
classLoaderString = loader.getClass().getName()+":"+Integer.toString(System.identityHashCode(loader));
}