Dear all,

When dealing with enclosed classes, frameworks like bytebuddy use the
EnclosingMethod attribute in order to discover generic type argument
bounds. When retransforming a class, the JvmtiClassFileReconstituter.cpp
omits the enclosing attributes (they are available in the java.lang.Class
object) so the bytes received by the transformer are missing the attribute
potentially causing issues downstream.

Are there any strong reasons why these attributes are not written by the
JvmtiClassFileReconstituter?

Kind regards and thank you in advance,

Manuel.

Reply via email to