mojira.dev
MC-236947

Signature attribute is stripped from java records

The Signature class attribute is removed from any generic record in Minecraft. This isn't a problem for normal players, but causes issues for modders, particularly when decompiling the game, as it creates invalid code. I've attached the javap output for one of the affected classes.
The Record attribute is also erased, although this one may be intentional and doesn't cause any problem.

Comments 1

ByMartrixX

boq

Plausible

Normal

(Unassigned)

21w37a, 21w38a, 21w39a

1.18 Pre-release 6

Retrieved