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
As an optimization, we currently use lazy instrumentation logic to re-transform only those classes related to the test.
This lazy instrumentation mechanism utilizes the fact that managed strategy can intercept object initialization, reads/writes of fields, and other related events, to invoke class bytecode transformation at certain points, mimicking the semantics of Java class initialization: https://docs.oracle.com/javase/specs/jls/se23/html/jls-12.html#jls-12.4
However, there several bugs and problems currently with this feature. Because of these bugs we sometimes have to use hacks to trigger eager transformation of classes, see examples:
As an optimization, we currently use lazy instrumentation logic to re-transform only those classes related to the test.
This lazy instrumentation mechanism utilizes the fact that managed strategy can intercept object initialization, reads/writes of fields, and other related events, to invoke class bytecode transformation at certain points, mimicking the semantics of Java class initialization:
https://docs.oracle.com/javase/specs/jls/se23/html/jls-12.html#jls-12.4
However, there several bugs and problems currently with this feature. Because of these bugs we sometimes have to use hacks to trigger eager transformation of classes, see examples:
Under this issue we aim to fix these problems.
Implementation:
<init>
methods) and regular methods. #449).Testing:
The text was updated successfully, but these errors were encountered: