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 0f1dcf73 Update test description
0f1dcf73 is described below
commit 0f1dcf73199192e0d8621917d17eb0f447627111
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 12 07:40:41 2026 -0500
Update test description
---
.../java/org/apache/bcel/classfile/JavaClassCyclicTest.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/bcel/classfile/JavaClassCyclicTest.java
b/src/test/java/org/apache/bcel/classfile/JavaClassCyclicTest.java
index c07ebae4..ac9e554d 100644
--- a/src/test/java/org/apache/bcel/classfile/JavaClassCyclicTest.java
+++ b/src/test/java/org/apache/bcel/classfile/JavaClassCyclicTest.java
@@ -39,9 +39,13 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
- * Tests for cyclic hierarchy vulnerabilities in {@link JavaClass}. These
tests demonstrate CWE-674 (Uncontrolled Recursion) vulnerabilities: -
- * getAllInterfaces(): infinite queue growth with cyclic interfaces -
getSuperClasses(): infinite loop with cyclic superclasses Without the fix,
these tests
- * will fail. With the fix, they pass.
+ * Tests {@link JavaClass}.
+ * <p>
+ * Tests for cyclic hierarchy vulnerabilities in {@link JavaClass}. These
tests demonstrate CWE-674 (Uncontrolled Recursion) vulnerabilities:
+ * <ul>
+ * <li>getAllInterfaces(): infinite queue growth with cyclic interfaces</li>
+ * <li>getSuperClasses(): infinite loop with cyclic superclasses Without the
fix, these tests will fail. With the fix, they pass.</li>
+ * </ul>
*/
class JavaClassCyclicTest {