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

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Tue Dec 23 20:40:56 UTC 2014


Changeset: a2b51b18ae9d
Author:    bpb
Date:      2014-12-23 12:40 -0800
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a2b51b18ae9d

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/jdk.dev/share/classes/sun/tools/native2ascii/Main.java
! test/sun/tools/native2ascii/Native2AsciiTests.sh



More information about the jdk9-dev-changes mailing list