On Thu, 25 Jan 2024 11:11:47 GMT, rjolly <[email protected]> wrote:

> ChangedCharSetException is used to amend the charset during read according to 
> html directives. Currently it causes immediate exit of the method which in 
> turn causes failure to load html documents with charset directives (even if 
> the latter must not change after all). This PR restores the catch operation 
> as it was before the use of try with resources.

This pull request has now been integrated.

Changeset: 245514da
Author:    Raphael Jolly <[email protected]>
Committer: Alexey Ivanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/245514da51ef77757f530317e079a3f58370a0be
Stats:     118 lines in 2 files changed: 92 ins; 16 del; 10 mod

8328953: JEditorPane.read throws ChangedCharSetException

Reviewed-by: tr, aivanov

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

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

Reply via email to