Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8366267

[lworld] Injected ACC_IDENTITY escapes to instrumentation of older classes

XMLWordPrintable

      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.

            Unassigned Unassigned
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: