aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-01 17:42:13 +0000
committeraclement <aclement>2005-11-01 17:42:13 +0000
commitb83d91aafe4de6362cd4f9bc30e92e80d392bc20 (patch)
treefb7ad309048efaa597a5a03a1d3b615a3553a7ff /loadtime
parent7e005f179e5162595692852a8115ef2af0301357 (diff)
downloadaspectj-b83d91aafe4de6362cd4f9bc30e92e80d392bc20.tar.gz
aspectj-b83d91aafe4de6362cd4f9bc30e92e80d392bc20.zip
wasnt setting the defaults if nothing supplied.
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 3c36bee68..3d3df20dd 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -229,7 +229,9 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
try { resource.close(); } catch (Throwable t) {;}
}
}
- if (weaverOption.lint != null) {
+ if (weaverOption.lint == null) {
+ bcelWorld.getLint().loadDefaultProperties();
+ } else {
if (weaverOption.lint.equals("default")) {//FIXME should be AjBuildConfig.AJLINT_DEFAULT but yetanother deps..
bcelWorld.getLint().loadDefaultProperties();
} else {