diff options
author | chibash <chiba@javassist.org> | 2022-05-13 02:32:49 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2022-05-13 02:32:49 +0900 |
commit | e890cfeee37e90b0d2aebed2a656623a852d0f7b (patch) | |
tree | 157746cbb9ae6d534b04d78d4fa4915f2190b2b8 /src/main/javassist/compiler | |
parent | 682a4971929e7bff093697185422b01ee39c19e0 (diff) | |
download | javassist-e890cfeee37e90b0d2aebed2a656623a852d0f7b.tar.gz javassist-e890cfeee37e90b0d2aebed2a656623a852d0f7b.zip |
cancels PR#391, which does not pass all the tests
Diffstat (limited to 'src/main/javassist/compiler')
-rw-r--r-- | src/main/javassist/compiler/MemberCodeGen.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/javassist/compiler/MemberCodeGen.java b/src/main/javassist/compiler/MemberCodeGen.java index c97af65b..e8e9912b 100644 --- a/src/main/javassist/compiler/MemberCodeGen.java +++ b/src/main/javassist/compiler/MemberCodeGen.java @@ -667,9 +667,8 @@ public class MemberCodeGen extends CodeGen { origDesc); acc = AccessFlag.setPackage(acc) | AccessFlag.STATIC; - if (!isFromSameDeclaringClass(declClass, thisClass)) - mname = getAccessiblePrivate(mname, origDesc, desc, - minfo, declClass); + mname = getAccessiblePrivate(mname, origDesc, desc, + minfo, declClass); } boolean popTarget = false; |