Integrated: 8287206: Use WrongThreadException for confinement errors

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed May 25 09:55:03 UTC 2022


On Tue, 24 May 2022 09:26:44 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch tweaks the foreign API to use the newly added `WrongThreadException` instead of `IllegalStateException` to report confinement errors.

This pull request has now been integrated.

Changeset: e1f140d2
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e1f140d270cc666d26b888a0a25ca7b02e1239af
Stats:     254 lines in 12 files changed: 150 ins; 1 del; 103 mod

8287206: Use WrongThreadException for confinement errors

Reviewed-by: alanb, darcy, mchung

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

PR: https://git.openjdk.java.net/jdk/pull/8865


More information about the nio-dev mailing list