On Mon, 18 Mar 2024 09:04:05 GMT, rjolly <[email protected]> wrote:

>> @rjolly Thank you for your contribution. Could you provide more details 
>> about the issue? The PR needs to be linked to a JBS issue. I'll create one 
>> for you after I get a more detailed description of the problem from you.
>> 
>> A test case is also welcome. And it's needed a regression test for the 
>> change anyway, if it's not hard to create. I believe a test case can be 
>> written for this issue.
>
> Hi @aivanov-jdk , thanks for your response. Is there a place where I can put 
> my non-regression test? Thanks!

@rjolly Sorry for my delayed reply. I have submitted 
[JDK-8328953](https://bugs.openjdk.org/browse/JDK-8328953): _JEditorPane.read 
throws ChangedCharSetException_ for you. The subject may be amended to describe 
issue better.

I attached the test case. I can reproduce the bug with Java 11 and above. I 
think it is a regression from 
[JDK-8146319](https://bugs.openjdk.org/browse/JDK-8146319) which added 
try-with-resources.

@rjolly You should edit the subject of the PR to `8328953: JEditorPane.read 
throws ChangedCharSetException`. The Skara bot will then mark the PR as ready 
for review (`rfr`) and will send announcement of the PR and each comment to the 
*client-libs-dev* mailing list.

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

PR Comment: https://git.openjdk.org/jdk/pull/17567#issuecomment-2018505966
PR Comment: https://git.openjdk.org/jdk/pull/17567#issuecomment-2020166773

Reply via email to