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

IrritantSet needs unsigned right shift for GROUP4 and higher #2029

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

stephan-herrmann
Copy link
Contributor

fixes #2006

  • Apply the correct shift operator
  • Add a test which will start running once IrritantSet.GROUP4 is enabled in JDT

To watch the effect: run the test against a tweaked IrritantSet.java:

  • set GROUP_MAX to 5
  • don't apply the correction in this PR
  • AIOOBE will occur

@stephan-herrmann stephan-herrmann merged commit 6eab603 into eclipse-jdt:master Feb 15, 2024
9 checks passed
@stephan-herrmann stephan-herrmann deleted the issue2006 branch February 15, 2024 15:58
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this pull request Feb 16, 2024
…-jdt#2029)

fixes eclipse-jdt#2006

* Apply the correct shift operator
* Add a test which will start running once IrritantSet.GROUP4 is enabled in JDT
robstryker pushed a commit to robstryker/eclipse.jdt.core that referenced this pull request Jul 18, 2024
…-jdt#2029)

fixes eclipse-jdt#2006

* Apply the correct shift operator
* Add a test which will start running once IrritantSet.GROUP4 is enabled in JDT
gayanper pushed a commit to gayanper/eclipse.jdt.core that referenced this pull request Sep 7, 2024
…-jdt#2029)

fixes eclipse-jdt#2006

* Apply the correct shift operator
* Add a test which will start running once IrritantSet.GROUP4 is enabled in JDT
snjeza pushed a commit to snjeza/eclipse.jdt.core that referenced this pull request Oct 21, 2024
…-jdt#2029)

fixes eclipse-jdt#2006

* Apply the correct shift operator
* Add a test which will start running once IrritantSet.GROUP4 is enabled in JDT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IrritantSet needs unsigned right shift for GROUP4 and higher
1 participant