Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

@labkey-jeckels labkey-jeckels commented Jan 14, 2026

Rationale

As part of upgrading to Java 25, we removed finalize() methods and switched to Cleaner, including in ResultSetImpl. That didn't work for GroupedResultSet used for nested grid views in MS2 and TargetedMS, leading to a swath of test failures.

This also caused failures in PHI logging as we were relying on calling LoggingResultSetWrapper.close()

Changes

  • Consolidate state tracking in ResultSetState instead of having separate _wasClosed in ResultSetImpl
  • Propagate close() call to superclass
  • Delete dead code
  • Clean up other misc warnings

Tasks 📍

  • Manual Testing - N/A
  • Needs Automation - N/A

@labkey-jeckels labkey-jeckels requested a review from a team January 14, 2026 18:49
@labkey-jeckels labkey-jeckels self-assigned this Jan 14, 2026
@labkey-jeckels labkey-jeckels changed the title Fix problems closing ResultSets in nested grid views Fix problems closing ResultSets Jan 14, 2026
@labkey-jeckels
Copy link
Contributor Author

@labkey-jeckels
Copy link
Contributor Author

Suites are now passing, aside from unrelated failures.

@labkey-jeckels labkey-jeckels merged commit c63767f into develop Jan 15, 2026
8 of 9 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_resultSetClosing branch January 15, 2026 00:53
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.

3 participants