Skip to content

fix: resolve java method calls to long signature definitions correctly#183

Open
li-jin-gou wants to merge 3 commits intomainfrom
perf/abcoder
Open

fix: resolve java method calls to long signature definitions correctly#183
li-jin-gou wants to merge 3 commits intomainfrom
perf/abcoder

Conversation

@li-jin-gou
Copy link
Copy Markdown
Member

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@li-jin-gou li-jin-gou force-pushed the perf/abcoder branch 4 times, most recently from f95f66a to 80d7d2e Compare April 16, 2026 11:37
@li-jin-gou li-jin-gou changed the title feat: add CGO_ENABLED=0 fix: resolve java method calls to long signature definitions correctly Apr 16, 2026
When a method calls another method that is defined later in the same class, the current single-pass logic fails to find the callee method symbol and creates a stub. This commit introduces a two-pass approach within `processClass`:
1. Iterate over methods and create definitions/symbols.
2. Iterate over methods again to process method calls and resolve them against the symbols created in the first pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants