RFR: 8328953 : JEditorPane.read throws ChangedCharSetException
rjolly
duke at openjdk.org
Tue Mar 26 11:29:36 UTC 2024
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.
-------------
Commit messages:
- 8328953 : JEditorPane.read throws ChangedCharSetException
Changes: https://git.openjdk.org/jdk/pull/17567/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17567&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8328953
Stats: 118 lines in 2 files changed: 93 ins; 16 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/17567.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17567/head:pull/17567
PR: https://git.openjdk.org/jdk/pull/17567
More information about the client-libs-dev
mailing list