[lworld] RFR: 8274800: [lworld] Primitive classes can't be retransformed [v2]

Alex Menkov amenkov at openjdk.java.net
Thu Dec 9 22:12:21 UTC 2021


> Fix for java.lang.instrument.Instrumentation.retransformClasses()
> 
> Cases for retransformation primitive to identity (and identity to primitive) classes and changing primitive class fields (so default_value becomes invalid) are handled by existing code and spec changes are not required.
> 
> Also added serviceability test to hotspot_valhalla group

Alex Menkov has updated the pull request incrementally with two additional commits since the last revision:

 - tabs to spaces in TEST.group
 - fixed CP mapping for defaultvalue bytecode

-------------

Changes:
  - all: https://git.openjdk.java.net/valhalla/pull/588/files
  - new: https://git.openjdk.java.net/valhalla/pull/588/files/b26c171e..4a82c8d0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=valhalla&pr=588&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=valhalla&pr=588&range=00-01

  Stats: 25 lines in 3 files changed: 24 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/588.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/588/head:pull/588

PR: https://git.openjdk.java.net/valhalla/pull/588



More information about the valhalla-dev mailing list