hg: jdk8u/jdk8u-dev/jdk: 8067964: Native2ascii doesn't close one of the streams it opens

ivan.gerasimov at oracle.com ivan.gerasimov at oracle.com
Mon Jul 11 19:32:14 UTC 2016


Changeset: 2d74b35ca24d
Author:    igerasim
Date:      2016-07-11 22:31 +0300
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/2d74b35ca24d

8067964: Native2ascii doesn't close one of the streams it opens
Summary: Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.
Reviewed-by: chegar

! src/share/classes/sun/tools/native2ascii/Main.java
! test/sun/tools/native2ascii/Native2AsciiTests.sh



More information about the jdk8u-dev-changes mailing list