Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix move instance processor to handle class instance creation accessibility #1413

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

jjohnstn
Copy link
Contributor

What it does

See title.

How to test

See original issue or new tests.

Author checklist

@jjohnstn jjohnstn self-assigned this May 18, 2024
@jjohnstn jjohnstn added the bug Something isn't working label May 18, 2024
@jjohnstn jjohnstn added this to the 4.33 M1 milestone May 18, 2024
- add logic to the MethodBodyRewriter so it will recognize a
  constructor call that will be inaccessible after moving and
  try to modify the accessibility of the constructor
- fix the ThisReferenceFinder to ignore field references made
  from a local variable
- add new tests to MoveInstanceMethodTests
- fixes eclipse-jdt#1304
@jjohnstn jjohnstn merged commit ec9df3d into eclipse-jdt:master Jun 5, 2024
9 checks passed
@jjohnstn jjohnstn deleted the privateconstructor branch June 5, 2024 19:48
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.

None yet

1 participant