]> source.dussan.org Git - aspectj.git/commitdiff
new Lint warning for pr62606 - warns when an ITDC does not contain an explicit constr...
authoracolyer <acolyer>
Thu, 3 Nov 2005 17:10:15 +0000 (17:10 +0000)
committeracolyer <acolyer>
Thu, 3 Nov 2005 17:10:15 +0000 (17:10 +0000)
weaver/src/org/aspectj/weaver/Lint.java
weaver/src/org/aspectj/weaver/XlintDefault.properties

index f4518694d816875b33ac37e0c56df93abdda9a52..d0b22e47ce3728c88baf542c3341cbc69c6cc19f 100644 (file)
@@ -98,7 +98,10 @@ public class Lint {
  
        public final Kind noGuardForLazyTjp =
                new Kind("noGuardForLazyTjp","can not build thisJoinPoint lazily for this advice since it has no suitable guard.  The advice applies at {0}");
-
+       
+       public final Kind noExplicitConstructorCall = 
+               new Kind("noExplicitConstructorCall","inter-type constructor does not contain explicit constructor call: field initializers in the target type will not be executed");
+       
     public Lint(World world) {
                this.world = world;
        }
index e0044b3d2664684d19458e6f31179cf0058dc959..da3856a79c7465bfca6757b2c016acf1fc85ad1f 100644 (file)
@@ -28,4 +28,5 @@ adviceDidNotMatch = warning
 invalidTargetForAnnotation = warning
 elementAlreadyAnnotated = warning
 runtimeExceptionNotSoftened = warning
-uncheckedArgument = warning
\ No newline at end of file
+uncheckedArgument = warning
+noExplicitConstructorCall = warning