-
Notifications
You must be signed in to change notification settings - Fork 142
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
[21][pattern switch] IndexOutOfBoundsException regression against preview 4 #1466
Comments
Note to myself: Reactivate code commented out it in
after this has been fixed and merged the AspectJ fork of JDT Core. |
This mostly affects pattern matching for switch and record patterns. Two tests which were working before for pattern matching for switch (preview 4), started to fail, so the corresponding code was commented out and eclipse-jdt/eclipse.jdt.core#1466 recorded. Signed-off-by: Alexander Kriegisch <[email protected]>
Sorry, this does not seem to be fixed. The
But actually, it is:
Neither 0 nor -99 are positive integers. Your test is even asserting on the wrong values. Please reopen, @mpalat. |
will take a look |
eclipse-jdt/eclipse.jdt.core#1466 has finally been fixed. Signed-off-by: Alexander Kriegisch <[email protected]>
The corresponding tests in AspectJ also work now. Thanks for fixing the fix. 😉 |
eclipse-jdt/eclipse.jdt.core#1466 has finally been fixed. Signed-off-by: Alexander Kriegisch <[email protected]>
Relates to #587.
This was working fine in ECJ 3.35.0 (Java 20), but leads to problems in 3.36.0-SNAPSHOT (Java 21)
JDK 20 and ECJ 3.35.0
JDK 21 and Javac
JDK 21 and ECJ 3.36.0-SNAPSHOT
You see, I used a snapshot from today. Please fix the problem. Thank you.
The text was updated successfully, but these errors were encountered: