Skip to content

HHH-18876 ArrayIndexOutOfBoundsException in ArrayInitializer with ListIndexBase #10257

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

peter1123581321
Copy link
Contributor

HHH-18876 is a follow up to HHH-18771 and describes a possible ArrayIndexOutOfBoundsException in the ArrayInitializer when using @ListIndexBase.
The pull request consists of a reproducer test and a fix in ArrayInitializer equivalent to the fix in ListInitializer of HHH-18771.
The provided test is based on OrderColumnListIndexHHH18771ListInitializerTest.

https://hibernate.atlassian.net/browse/HHH-18876
https://hibernate.atlassian.net/browse/HHH-18771
PR of HHH-18771: #9169


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


Copy link
Member

@mbladel mbladel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @peter1123581321

@mbladel mbladel merged commit d90704e into hibernate:main Jun 3, 2025
23 of 24 checks passed
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.

2 participants