On Thu, 23 Jul 2026 21:41:20 GMT, Justin Lu <[email protected]> wrote:

> Ensure that the implementation does not generate subsequent warnings for each 
> row exceeded above the maximum allowed. 
> 
> Additional fixes included
> - `crs` created via hashtable c-tor no longer throws `NPE` when its warning 
> is referenced.
> - 2-arg `populate` uses `setWarning` with a `RowSetWarning` which fixes the 
> issue when the warning was polled by client and an `Error` occurred, because 
> `setException` does not expect an `SQLException`
> - Root warning is no longer a pointless blank warning. The root warning now 
> always contains a valid warning message.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 79d629ab
Author:    Justin Lu <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/79d629abf63d2227231f6a6c7ce957693cc464ed
Stats:     188 lines in 2 files changed: 173 ins; 7 del; 8 mod

8388810: Exceeding CachedRowSet max rows should only warn once

Reviewed-by: lancea

-------------

PR: https://git.openjdk.org/jdk/pull/32033

Reply via email to