RFR: 8287206: Use WrongThreadException for confinement errors
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Tue May 24 09:36:31 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.
javadoc:
http://cr.openjdk.java.net/~mcimadamore/8287206/v1/javadoc/java.base/module-summary.html
specdiff:
http://cr.openjdk.java.net/~mcimadamore/8287206/v1/specdiff_out/overview-summary.html
-------------
PR: https://git.openjdk.java.net/jdk/pull/8865
More information about the core-libs-dev
mailing list