AryanRG opened a new pull request, #536: URL: https://github.com/apache/commons-bcel/pull/536
## Summary BCEL-379: `BCELifier` prints the numeric `CONSTANT_Integer` value for a boolean field, so its generated creator calls `FieldGen.setInitValue(int)` and fails at runtime. Emit a boolean literal for boolean fields while leaving other constant types unchanged. The regression checks true and false literals from compiled bytecode and adds the fixture to the existing generate/compile/run/javap round trip. The change also includes a `changes.xml` entry. Jira: https://issues.apache.org/jira/browse/BCEL-379 ## Validation - Default `mvn`: BUILD SUCCESS on macOS with JDK 27. - `mvn -q verify`: passed. - `mvn -q checkstyle:check`: passed after correcting the new fixture header. - Independent automated code review found no blocking issue; the reviewer did not run tests. ## Contribution checklist - [x] Contribution guidelines and ASF generative-tooling guidance checked. - [x] AI tooling disclosure: OpenAI Codex assisted with implementation and regression tests; Kiro Claude Opus 5.5 provided an independent automated code review. - [x] Default `mvn` build passed. - [x] Added a regression test for the behavior change. - [x] Explained the issue, fix, and validation above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
