The GitHub Actions job "CodeQL" on commons-lang.git/master has succeeded. Run started by GitHub user garydgregory (triggered by garydgregory).
Head commit for run: e588cc629f4b046cdf0ab2fe4d8ab8e297d8a484 / 안승현 <[email protected]> [LANG-1835] Ignore synthetic methods in AnnotationUtils (#1810) * [LANG-1835] Ignore synthetic methods in AnnotationUtils Only process public, abstract, non-synthetic annotation members in equals(), hashCode(), and toString(). Prevent compiler-generated lambda methods from being invoked or affecting annotation hash codes and string representations. Add regression tests for Runnable, Supplier, and Function constants, including equality checks between distinct annotation instances. Validate with the default Maven build on JDK 25. Signed-off-by: 안승현 <[email protected]> * [LANG-1835] Fix annotation equality test on older JDKs Remove the native annotation proxy equals() assertion that triggers AnnotationFormatError on Java 8 and 11. Retain the distinct-instance check and the AnnotationUtils.equals() regression assertion. Validate the default Maven build with -Ddoclint=all on Windows with Java 8, 11, 17, 21, 25, and 27. Signed-off-by: 안승현 <[email protected]> * [LANG-1835] Consolidate annotation member validation Move parameter count and return type checks into isAnnotationMember() and simplify the equals() and toString() call sites. Retain reflective access support for non-public annotation types. Validate the full default Maven build on Java 8, 11, 17, 21, 25, and 27. Signed-off-by: 안승현 <[email protected]> * [LANG-1835] Ensure distinct instances in annotation equality test Create a fresh proxy instead of relying on annotation instance caching. Retain the identity assertion to ensure the regression exercises member comparison. Signed-off-by: 안승현 [email protected]> Signed-off-by: 안승현 <[email protected]> * Add test for AnnotationUtils with throwing supplier Co-authored-by: Copilot Autofix powered by AI <[email protected]> * [LANG-1835] Add hashCode regression test for throwing supplier Verify that AnnotationUtils.hashCode() returns the expected value without invoking synthetic lambda-body methods. Signed-off-by: 안승현 <[email protected]> * [LANG-1835] Override annotation access only when needed Invoke annotation members normally first and adjust accessibility only after IllegalAccessException. Preserve Java 8 compatibility, non-public annotation support, and the existing forceAccessible policy. Signed-off-by: 안승현 <[email protected]> --------- Signed-off-by: 안승현 <[email protected]> Co-authored-by: Gary Gregory <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> Report URL: https://github.com/apache/commons-lang/actions/runs/38072116168 With regards, GitHub Actions via GitBox
