On Thu, 18 Nov 2021 18:32:30 GMT, Andrey Turbanov <d...@openjdk.java.net> wrote:
>> src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java line >> 463: >> >>> 461: new InputStreamReader(is, ISO_8859_1)); >>> 462: defaultStyles.loadRules(r, null); >>> 463: r.close(); >> >> the reader was not added to the try block, it will not be closed. > > updated What about "new InputStreamReader()" here and below? ------------- PR: https://git.openjdk.java.net/jdk/pull/5817