[fix] 修复 Incision 多插件 Bridge 串行执行与运行时隔离 - #725
Merged
Micalhl merged 1 commit intoJul 30, 2026
Merged
Conversation
Contributor
Author
|
补充修复已推送(
本次变更针对 Issue #726,未改变 JVMTI native backend 的初始化和重转换路径。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
PR #724 修复了跨 ClassLoader 的 Bridge 路由,但 Leaf 26.2 的真实双插件场景继续暴露出三类运行时问题:
修改
DefineClass。IncisionBridge,并使用不生成额外内部类的弱缓存,遵守 bootstrap 注入只复制单个 class 的约束。实际验证
./gradlew :module:incision:test --no-daemon:20 项测试全部通过。./gradlew :module:incision:publishToMavenLocal -PdevLocal --no-daemon:成功。./gradlew clean build :bridge-peer:clean :bridge-peer:build --no-daemon:成功。373 pass / 0 fail / 1 not-applicable / 374 total。bridge-peer-dual-dispatch与bridge-peer-disable-isolation均通过,确认两个插件按注册顺序各执行一次,禁用 peer 后主插件仍可继续工作。dispatch unavailable、NoClassDefFoundError、VerifyError、zip file closed、UnsatisfiedLinkError、Bridge dispatch failure 均为 0。对应集成测试已推送至
FxRayHughes/Incision-Test@c96e1c2。这是已合并 PR #724 的后续修复,没有对应的上游 Issue。