Skip to content

Fix inline of method with instantiation of local class#3077

Merged
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:inlinemethodbug
Jul 11, 2026
Merged

Fix inline of method with instantiation of local class#3077
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:inlinemethodbug

Conversation

@jjohnstn

Copy link
Copy Markdown
Contributor

What it does

See issue.

How to test

See issue or new tests.

Author checklist

- modify SourceAnalyzer.visit(ClassInstanceCreation) to only mark
  a member class as a receiver
- add new tests to InlineMethodTests
- fixes eclipse-jdt#3070
@jjohnstn jjohnstn self-assigned this Jul 11, 2026
@jjohnstn jjohnstn added the bug Something isn't working label Jul 11, 2026
@jjohnstn jjohnstn added this to the 4.41 M2 milestone Jul 11, 2026
@jjohnstn

Copy link
Copy Markdown
Contributor Author

Compiler issue failure appears to be a new deprecation that says 2026-09. It is not in any code that was changed as part of this PR.

@jjohnstn
jjohnstn merged commit 1d2e5a4 into eclipse-jdt:master Jul 11, 2026
10 of 13 checks passed
@jjohnstn
jjohnstn deleted the inlinemethodbug branch July 11, 2026 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inline Method incorrectly qualifies local class instantiation and produces uncompilable code

1 participant