You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/01/15 15:02:34 UTC
(commons-bcel) branch master updated: Use &=
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 6b4b6edd Use &=
6b4b6edd is described below
commit 6b4b6eddf66972e3f2007a67ca7e4631b2774713
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Mon Jan 15 10:02:30 2024 -0500
Use &=
---
src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java b/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
index 34f9f5f3..6ea0d18d 100644
--- a/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
+++ b/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
@@ -665,7 +665,7 @@ public final class Pass2Verifier extends PassVerifier implements Constants {
checkIndex(innerClasses, innernameIdx, CONST_Utf8);
}
int acc = ic.getInnerAccessFlags();
- acc = acc & ~(Const.ACC_PUBLIC | Const.ACC_PRIVATE | Const.ACC_PROTECTED | Const.ACC_STATIC | Const.ACC_FINAL | Const.ACC_INTERFACE |
+ acc &= ~(Const.ACC_PUBLIC | Const.ACC_PRIVATE | Const.ACC_PROTECTED | Const.ACC_STATIC | Const.ACC_FINAL | Const.ACC_INTERFACE |
Const.ACC_ABSTRACT);
if (acc != 0) {
addMessage("Unknown access flag for inner class '" + tostring(ic) + "' set (InnerClasses attribute '" + tostring(innerClasses) + "').");