Commit graph

5 commits

Author SHA1 Message Date
a4450b69ba
classfile: fix condy ldc category (ldc_w vs ldc2_w by descriptor), split attrs tests 2026-10-15 12:53:22 +02:00
15cd31252e
classfile,passes: model RuntimeVisibleTypeAnnotations and AnnotationDefault
Type annotations (method- and code-level) and annotation defaults were
passed through as Raw bytes with the original pool indices; the writer
rebuilds the pool, so those indices pointed at the wrong utf8 or past
the pool end. HotSpot tolerates the garbage (lazy reflection parsing),
but ASM's ClassReader dies with ArrayIndexOutOfBoundsException while
Paper's plugin converter reads every method - 76 of 275 LoParkour
classes failed to convert. Target_info and type_path carry no pool
references and stay opaque bytes; type descriptors and element values
are modeled and rewritten by rename like plain annotations.
2026-10-13 10:17:10 +02:00
48a5bc23a9
classfile,passes: model runtime-visible annotations, rewrite their descriptors 2026-10-11 13:02:26 +02:00
4b14eeb40f
classfile: writer honors itf flag for invokestatic on interfaces 2026-10-11 12:24:50 +02:00
9a33cef9b1
classfile,passes,jar: model PermittedSubclasses, normalize interface flags, name class in write errors 2026-10-10 14:22:03 +02:00