Skip to content

fix(incision): prevent native delegate linkage recursion - #732

Open
FxRayHughes wants to merge 1 commit into
TabooLib:dev/6.3.0from
FxRayHughes:fix/incision-native-delegate-linkage
Open

fix(incision): prevent native delegate linkage recursion#732
FxRayHughes wants to merge 1 commit into
TabooLib:dev/6.3.0from
FxRayHughes:fix/incision-native-delegate-linkage

Conversation

@FxRayHughes

Copy link
Copy Markdown
Contributor

修复内容

  • 修复 Incision native delegate 注册阶段的递归回调,避免 Backend$BackendToken 在插件 ClassLoader 中被重复定义而触发 LinkageError
  • Bridge native 回调增加线程级防重入,并在 Java/JNI 两层跳过后端 token 协议类。
  • 新增 Bridge native routing 回归测试,覆盖多插件共享 native、delegate 预解析和协议类隔离。

实测验证

  • Incision-Test 六节点矩阵:Paper 1.12.2、1.16.5、1.20.6、1.21.11,Spigot 26.1.2,Leaf 26.2。
  • Leaf 26.2 的 EnchantmentHelper pending-load、ItemStack retransform 和 EnchantmentMenu.slotsChanged 首次加载探针通过。
  • 未出现 duplicate interface definitionnative transformer delegate faileddispatch unavailableLinkageErrorVerifyError

Refs: #730

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.

1 participant