Skip to content

fix: target Java 17 bytecode - #28

Merged
TWME-TW merged 1 commit into
TWME-TW:masterfrom
twme-ai:fix/java-17-bytecode
Aug 11, 2026
Merged

fix: target Java 17 bytecode#28
TWME-TW merged 1 commit into
TWME-TW:masterfrom
twme-ai:fix/java-17-bytecode

Conversation

@twme-ai

@twme-ai twme-ai commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • compile TextDisplayShapes modules to Java 17 bytecode
  • retain Java 21 as a supported build JDK while allowing consumers to run on older Paper versions

Context

WorldEditDisplay supports Paper 1.19.4/1.20, but Paper builds in that range use an ASM remapper that cannot read Java 21 class file version 65. Because textdisplayshape-packet is shaded into WorldEditDisplay, each shape class logs a fatal conversion error before Paper falls back to the original bytes. The source already compiles cleanly with --release 17; no API or behavior changes are required.

Verification

  • mvn -q clean verify
  • verified API and packet output classes use class file major version 61

@TWME-TW
TWME-TW merged commit 50c1317 into TWME-TW:master Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants