File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ public class WithincodePointcut extends Pointcut {
34
34
static {
35
35
int flags = Shadow .ALL_SHADOW_KINDS_BITS ;
36
36
for (int i = 0 ; i < Shadow .SHADOW_KINDS .length ; i ++) {
37
- if (Shadow .SHADOW_KINDS [i ].isEnclosingKind ()) {
37
+ if (! Shadow .SHADOW_KINDS [i ].isEnclosingKind ()) {
38
38
flags -= Shadow .SHADOW_KINDS [i ].bit ;
39
39
}
40
40
}
41
- // these next two are needed for inlining of field initializers
42
- flags |= Shadow . ConstructorExecution . bit ;
43
- flags | = Shadow .Initialization .bit ;
41
+ flags -= Shadow . StaticInitialization . bit ;
42
+ // Should we consider that initialization is withincode(ConstructorSignature)?
43
+ // flags - = Shadow.Initialization.bit;
44
44
matchedShadowKinds = flags ;
45
45
}
46
46
You can’t perform that action at this time.
0 commit comments