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 method to handle field access modifier adjustment #1427

Merged
merged 3 commits into from
Jun 7, 2024

Conversation

jjohnstn
Copy link
Contributor

What it does

Fixes move instance method to check field accesses and modify the access flags of the field if necessary.

How to test

See issue or new test.

Author checklist

@jjohnstn jjohnstn self-assigned this May 27, 2024
@jjohnstn jjohnstn added the bug Something isn't working label May 27, 2024
@jjohnstn jjohnstn added this to the 4.33 M1 milestone May 27, 2024
- fix MoveInstanceMethodProcessor.createMethodBody() to perform any
  needed adjustments to field modifiers if required by the move
- add new test to MoveInstanceMethodTests
- fixes eclipse-jdt#1297
@jjohnstn jjohnstn merged commit 5bf7d72 into eclipse-jdt:master Jun 7, 2024
6 of 8 checks passed
@jjohnstn jjohnstn deleted the privateissue branch June 7, 2024 21:41
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.

Bug: move method causes compilation errors.
1 participant