Integrated: 8328953 : JEditorPane.read throws ChangedCharSetException

rjolly duke at openjdk.org
Fri Mar 29 10:09:38 UTC 2024


On Thu, 25 Jan 2024 11:11:47 GMT, rjolly <duke at openjdk.org> 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 <rjolly at users.sourceforge.net>
Committer: Alexey Ivanov <aivanov at openjdk.org>
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


More information about the client-libs-dev mailing list