summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormwebster <mwebster>2006-10-02 09:58:14 +0000
committermwebster <mwebster>2006-10-02 09:58:14 +0000
commit71273ed2cedc34faf0f154c8b74c7f65093553b6 (patch)
tree9e782929c73337fefc5c2d13dc1de27a3def370a
parentcd9fd1147b63c7a0df0c93307feae4dce7b19d4d (diff)
downloadaspectj-71273ed2cedc34faf0f154c8b74c7f65093553b6.tar.gz
aspectj-71273ed2cedc34faf0f154c8b74c7f65093553b6.zip
Bug 158205 "NullPointerException when weaving with bootstrap agent" (modified patch from rbodkin+LISTS@gmail.com)
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java2
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);