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

improvement: Make ArrayIndexOutBoundsExceptions compliant with JVM 8+ - #3638

Merged

Conversation

WojciechMazur
Copy link
Contributor

Inform about bounds in exception message, eg:
java.lang.ArrayIndexOutOfBoundsException: Index -5 out of bounds for length 10
instead of
java.lang.ArrayIndexOutOfBoundsException: -5

@WojciechMazur WojciechMazur merged commit 9ed8cb0 into scala-native:main Jan 1, 2024
61 checks passed
@WojciechMazur WojciechMazur deleted the improve/out-of-bounds-message branch January 1, 2024 12:22
WojciechMazur added a commit that referenced this pull request Jan 17, 2024
…ut bounds in exception message (#3638)

(cherry picked from commit 9ed8cb0)
WojciechMazur added a commit that referenced this pull request Jan 19, 2024
…ut bounds in exception message (#3638)

(cherry picked from commit 9ed8cb0)
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.

None yet

1 participant