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.

Verified the fix with the shared test (regression test from 
[JDK-8146319](https://bugs.openjdk.org/browse/JDK-8146319)), its working fine.

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

PR Review: https://git.openjdk.org/jdk/pull/17567#pullrequestreview-1959906644

Reply via email to