14 lines
824 B
Diff
14 lines
824 B
Diff
# UNDF: UNDF-2026-000000117
|
|
diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java
|
|
index 8620caf3..8c99c9ed 100644
|
|
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java
|
|
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java
|
|
@@ -183,7 +183,7 @@ private void findSCC(N v) {
|
|
//it's the first time we see this node
|
|
findSCC(n);
|
|
v.lowlink = Math.min(v.lowlink, n.lowlink);
|
|
- } else if (stack.contains(n)) {
|
|
+ } else if (n.active) {
|
|
//this node is already reachable from current root
|
|
v.lowlink = Math.min(v.lowlink, n.index);
|
|
}
|