The Record class attribute seem to be missing from the class files of records with no record components (i.e. empty records). While according to section 4.7 of the JVM Specification the Record attribute isn't critical to the interpretation of the class file by the virtual machine they are important when inspecting the structure of the class file, by both the JDK's libraries and modding utilities. This issue impacts 9 classes in 23w31a, provided in official mappings: ClientboundStartConfigurationPacket, ServerboundConfigurationAcknowledgedPacket, ServerboundLoginAcknowledgedPacket, DiscardedQueryAnswerPayload, GuiSpriteScaling$Stretch, GameTestClearMarkersDebugPayload, ServerboundFinishConfigurationPacket, and ClientboundChunkBatchStartPacket.
Comments 3
@Dhranios
How does this affect the game?
Issues need gameplay or data/resource pack development impact in order to be accepted here.
Mojang has previously fixed similar issues with their obfuscation pipeline. While it doesn't affect gameplay it does affect the modding community and mojang does seem to care for modding related issues in some cases. We should wait for a moderator/mojang employee to decide if the issue is valid
Mojang assigned priority after my comment. That being said, it's a relatively new rule for bug reports and issues like typos in code or a straight up mistake (long list not read correctly) are no longer accepted bug reports if the game is still functioning fine.
Honestly surprised this got different treatment. (Why, @unknown?)
How does this affect the game?
Issues need gameplay or data/resource pack development impact in order to be accepted here.