8308899: Introduce Classfile context and improve Classfile options

8306650: Improve control of stack maps generation in Classfile API
8308646: Typo in ConstantValueAttribute

Reviewed-by: mcimadamore
This commit is contained in:
Adam Sotona 2023-06-27 05:05:17 +00:00
parent 79c056ec8b
commit 990e3a700d
113 changed files with 1602 additions and 1190 deletions

View file

@ -166,7 +166,7 @@ final class FingerPrint {
}
private static ClassAttributes getClassAttributes(byte[] bytes) {
var cm = Classfile.parse(bytes);
var cm = Classfile.of().parse(bytes);
ClassAttributes attrs = new ClassAttributes(
cm.flags(),
cm.thisClass().asInternalName(),