diff options
author | mwebster <mwebster> | 2006-10-02 09:58:14 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-10-02 09:58:14 +0000 |
commit | 71273ed2cedc34faf0f154c8b74c7f65093553b6 (patch) | |
tree | 9e782929c73337fefc5c2d13dc1de27a3def370a /loadtime | |
parent | cd9fd1147b63c7a0df0c93307feae4dce7b19d4d (diff) | |
download | aspectj-71273ed2cedc34faf0f154c8b74c7f65093553b6.tar.gz aspectj-71273ed2cedc34faf0f154c8b74c7f65093553b6.zip |
Bug 158205 "NullPointerException when weaving with bootstrap agent" (modified patch from rbodkin+LISTS@gmail.com)
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java index e3ff1c499..e9d46182f 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java @@ -179,7 +179,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { //TODO av underoptimized: we will parse each XML once per CL that see it //TODO av dev mode needed ? TBD -Daj5.def=... - if (ClassLoader.getSystemClassLoader().equals(loader)) { + if (loader.equals(ClassLoader.getSystemClassLoader())) { String file = System.getProperty("aj5.def", null); if (file != null) { info("using (-Daj5.def) " + file); |