Skip to content

Conversation

cbot59
Copy link
Contributor

@cbot59 cbot59 commented Aug 13, 2025

When currentRow length exceeds column names provided on RowSetMetaData then assigning props would cause ArrayIndexOutOfBoundsException to be thrown

@mdeinum
Copy link
Collaborator

mdeinum commented Aug 14, 2025

Thanks for your contribution and the fix. Could you add a test as well for this case? Although the fix seems simple I would like to guard it with a test .

@cbot59 cbot59 force-pushed the bugfix/default-row-set branch from 13a27ae to 49aab36 Compare August 17, 2025 18:22
@cbot59
Copy link
Contributor Author

cbot59 commented Aug 17, 2025

@mdeinum test added

@mdeinum mdeinum self-assigned this Aug 18, 2025
@mdeinum mdeinum force-pushed the bugfix/default-row-set branch from 964befa to af50406 Compare August 18, 2025 12:11
cbot59 and others added 2 commits August 18, 2025 14:15
- Adhere to rules from Checkstyle
- Simplify implementation
- Fix bug in other test-case (apparent after simplifying the implementation)

Signed-off-by: Marten Deinum <[email protected]>
@mdeinum mdeinum force-pushed the bugfix/default-row-set branch from af50406 to 288c398 Compare August 18, 2025 12:15
@mdeinum mdeinum merged commit 8ec736d into spring-projects:main Aug 18, 2025
2 checks passed
@cbot59 cbot59 deleted the bugfix/default-row-set branch August 29, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants