RFR: Intentionally removed ACC_SUPER class modifier was causing hotswap to fail
Jiří Vaněk
jvanek at openjdk.org
Sat Jul 30 14:03:34 UTC 2022
When jasm's disasm, modify, asm cycle output binary was used for class
hotswap, remote JDK was not accepting it with java.lang.UnsupportedOperationException:
class redefinition failed: attempted to change the class modifiers
beacuse of ommited supoer keyword (although it have already no real
reason)
This patch is returning the keyword without conditions, when it was
included in original bytecode
-------------
Commit messages:
- Intentionally removed ACC_SUPER class modifier was causing hotswap to fail
Changes: https://git.openjdk.org/asmtools/pull/26/files
Webrev: https://webrevs.openjdk.org/?repo=asmtools&pr=26&range=00
Stats: 30 lines in 3 files changed: 24 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/asmtools/pull/26.diff
Fetch: git fetch https://git.openjdk.org/asmtools pull/26/head:pull/26
PR: https://git.openjdk.org/asmtools/pull/26
More information about the asmtools-dev
mailing list