From 2d22a529bb98aa01e3f8d14f80fb0c40b5bd2e92 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 17:05:23 +0000 Subject: [PATCH] move away from using helper methods on Member --- weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index bd96c5101..46d83fd72 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -580,7 +580,7 @@ class BcelClassWeaver implements IClassWeaver { // we can't be overriding a static method return null; } - if (methodThatMightBeGettingOverridden.isPrivate()) { + if (Modifier.isPrivate(methodThatMightBeGettingOverridden.getModifiers())) { // we can't be overriding a private method return null; } -- 2.39.5