You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, hidden classes cannot be instrumented by Lincheck, because we use dynamic agent attachment and class re-transformation.
However, hidden classes are not modifiable and thus cannot be redefined or re-transformed: https://bugs.openjdk.org/browse/JDK-8230502
This poses a problem for us. Since Java 15+, lambdas in Java are compiled into hidden classes. It means that we currently cannot instrument Java lambdas on JDKs 15+.
The text was updated successfully, but these errors were encountered:
eupp
changed the title
Support instrumentation of hidden classes.
Support instrumentation of hidden classes
Jan 24, 2025
Currently, hidden classes cannot be instrumented by Lincheck, because we use dynamic agent attachment and class re-transformation.
However, hidden classes are not modifiable and thus cannot be redefined or re-transformed:
https://bugs.openjdk.org/browse/JDK-8230502
This poses a problem for us. Since Java 15+, lambdas in Java are compiled into hidden classes. It means that we currently cannot instrument Java lambdas on JDKs 15+.
The text was updated successfully, but these errors were encountered: