-
Bug
-
Resolution: Unresolved
-
P4
-
repo-valhalla
In classFileParser.cpp, we inject ACC_IDENTITY to class and inner class access flags for legacy classes. These injected ACC_IDENTITY appear written as-is to class bytes for instrumentation (JvmtiClassFileReconstituter), which causes disparity due to newly-set bits for older bytecode formats.
This problem was less severe in classes because ACC_SUPER is set to a good default (only for classes). However, for inner classes, the 0x20 bit is undefined before JEP 401, and the problem surfaces there.
This problem was less severe in classes because ACC_SUPER is set to a good default (only for classes). However, for inner classes, the 0x20 bit is undefined before JEP 401, and the problem surfaces there.