On Tue, 4 Oct 2022 11:55:02 GMT, Claes Redestad <redes...@openjdk.org> wrote:
>> @mlchung I can put here a stack trace of the application invoking the code >> if you are interested > > @stsypanov would be helpful to understand when this code still gets executed. > Also note that JEP 416 was integrated in JDK 18 so some details about the > runtime would be necessary to get a complete picture. @cl4es @mlchung here's the stacktrace of my app running on Java 19: generate:136, MethodAccessorGenerator (jdk.internal.reflect) generateSerializationConstructor:107, MethodAccessorGenerator (jdk.internal.reflect) generateConstructor:420, ReflectionFactory (jdk.internal.reflect) newConstructorForSerialization:412, ReflectionFactory (jdk.internal.reflect) getSerializableConstructor:1444, ObjectStreamClass (java.io) run:412, ObjectStreamClass$2 (java.io) run:384, ObjectStreamClass$2 (java.io) executePrivileged:778, AccessController (java.security) doPrivileged:319, AccessController (java.security) <init>:384, ObjectStreamClass (java.io) computeValue:110, ObjectStreamClass$Caches$1 (java.io) computeValue:107, ObjectStreamClass$Caches$1 (java.io) computeValue:73, ClassCache$1 (java.io) computeValue:70, ClassCache$1 (java.io) getFromHashMap:229, ClassValue (java.lang) getFromBackup:211, ClassValue (java.lang) get:117, ClassValue (java.lang) get:84, ClassCache (java.io) lookup:363, ObjectStreamClass (java.io) lookup:246, ObjectStreamClass (java.io) <clinit>:27, Result (org.junit.runner) run:132, JUnitCore (org.junit.runner) startRunnerWithArgs:69, JUnit4IdeaTestRunner (com.intellij.junit4) execute:38, IdeaTestRunner$Repeater$1 (com.intellij.rt.junit) repeat:11, TestsRepeater (com.intellij.rt.execution.junit) startRunnerWithArgs:35, IdeaTestRunner$Repeater (com.intellij.rt.junit) prepareStreamsAndStart:235, JUnitStarter (com.intellij.rt.junit) main:54, JUnitStarter (com.intellij.rt.junit)  ------------- PR: https://git.openjdk.org/jdk/pull/10526