feat: 문자열 연결 레시피 불일치 — 상세를 StringConcatException cause 로 [rustjava-java-lang-invoke-package-and-linkage-error-cause] - #104
Merged
Conversation
… 불일치 상세를 StringConcatException cause 로
java.lang.invoke 패키지에 StringConcatException 하나만 둔다. concat_with_constants 는
BootstrapMethodError("bootstrap method initialization exception") 를 던지고 상세는 initCause 로
단 StringConcatException 에 싣는다 — OpenJDK 26 과 같은 모양. 시험은 Caused by 줄을 정확히 단언한다.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
무엇을
java.lang.invoke패키지 신설 —StringConcatException한 클래스만(<init>(String)·loader.rs등재). 사용처 =jvm-bytecode/src/interpreter.rsconcat_with_constants한 곳.BootstrapMethodError: bootstrap method initialization exception+initCause(StringConcatException: Mismatched number of concat arguments|constants: …). OpenJDK 26 과 같은 모양.test_a_recipe_that_contradicts_its_call_site_is_a_bootstrap_method_error가 머리줄(바깥 오류 ·Caused by:줄)을 정확히 단언.실측
initCause제거) → red.cargo test --all598 passed).채택:
2026-09-17-string-concat-recipe-arity#p1· 선행 사슬 닫힘(docs/next.md).🤖 Generated with Claude Code