[rustjava-lock-every-named-exception-class-is-loadable] test(ci): 이름으로 부르는 예외 클래스가 실을 수 있는 것인지 한 자리에서 대조한다 [rustjava-lock-every-named-exception-class-is-loadable-fix] - #72
Merged
Conversation
added 2 commits
September 18, 2026 16:36
…로 부르는 예외 클래스가 실을 수 있는 것인지 한 자리에서 대조한다
…ts): 거짓 초록 둘과 거짓 빨강 하나를 없앤다 — 충돌·다중 줄·list_proto
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.
Jvm::exceptionends innew_class(...).await.unwrap()(jvm/src/jvm.rs:943-950), so naming a class the bootstrap loader cannot resolve panics instead of throwing. The axis is self-referential:jvm.rs:842reports a missing class by callingexception("java/lang/NoClassDefFoundError", ...).Adds one cross-check —
scripts/check-named-exception-classes-are-loadable.py— comparing the literal class names inexception(call sites against the protos actually registered inrustjava-runtime/src/loader.rs. Wired into the DoD block and a CI job (named_exception_classes).Baseline measured this round: 41 distinct literal names / 812 call sites ↔ 265 registered entries (263 distinct), all resolved ⇒ 0 not loadable.
Bidirectional: removing the
BootstrapMethodErrorregistration — the case that actually panicked — gives rc=1 naming it atjvm-bytecode/src/interpreter.rs:1109; renaming a proto gives rc=1; an unresolvable registration gives rc=2 (cannot measure) rather than a false red; restoring gives rc=0.It is a floor, not a proof: a name built at run time (
format!, a const, a variable) is invisible. The.unwrap()itself is deliberately untouched — that conversion is a separate axis.No runtime class added. Cost ~1s (the first draft took 32.7s until
target/was pruned).Adopted proposal:
2026-09-17-string-concat-recipe-arity#p0