hg: jdk/jdk: 8236697: Stack overflow with cyclic hierarchy in class file

vicente.romero at oracle.com vicente.romero at oracle.com
Mon Jun 8 20:08:21 UTC 2020


Changeset: 4176fe0a3cca
Author:    asotona
Date:      2020-06-08 16:07 -0400
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/4176fe0a3cca

8236697: Stack overflow with cyclic hierarchy in class file
Summary: Implemented minimal necessary cycle detection to avoid stack overflow in c.s.t.j.code.Types::asSuper
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/langtools/tools/javac/8236697/Cyclic.jcod
+ test/langtools/tools/javac/8236697/T8236697.java
+ test/langtools/tools/javac/8236697/T8236697.out



More information about the jdk-changes mailing list