aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2018-08-29 13:08:15 -0700
committerAndy Clement <aclement@pivotal.io>2018-08-29 13:08:15 -0700
commit8aeb774d210a42240f2d6d89dd89e947a084fd7f (patch)
tree8d836acd2668f8ea157b73235b755c2d5a23a647 /weaver
parentdeb181f01c43d03e41b06cddf383503bfe943d8a (diff)
downloadaspectj-8aeb774d210a42240f2d6d89dd89e947a084fd7f.tar.gz
aspectj-8aeb774d210a42240f2d6d89dd89e947a084fd7f.zip
Generalized exception that might occur
Diffstat (limited to 'weaver')
-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));
}