On 6/1/2016 12:21 PM, Rajeev Chamyal wrote:

Hello All,

Please review the following webrev.

Bug : https://bugs.openjdk.java.net/browse/JDK-8146319

Webrev : http://cr.openjdk.java.net/~rchamyal/8146319/webrev.00/ <http://cr.openjdk.java.net/%7Erchamyal/8146319/webrev.00/>

Issue: JEditorPane::read method is not closing the InputStreamReader.

Fix: closing the InputStreamReader in finally block.

  Is it possible to use try-with-resources statement for the reader?

Thanks,
Alexandr.

Regards,

Rajeev Chamyal


Reply via email to