diff options
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ltw/LTWWorld.java | 2 |
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)); } |