RFR: 8302685: Some javac unit tests aren't reliably closing open files [v2]

Archie L. Cobbs duke at openjdk.org
Sat Feb 25 21:38:20 UTC 2023


On Sat, 25 Feb 2023 19:06:49 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Archie L. Cobbs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove extra whitespace.
>
> test/langtools/tools/javac/T8071847/T8071847.java line 86:
> 
>> 84:     File writeHexFile(String classFileName, String hexString) throws IOException {
>> 85:         File f = new File(classFileName);
>> 86:         try (FileOutputStream output  = new FileOutputStream(f)) {
> 
> Suggestion:
> 
>         try (FileOutputStream output = new FileOutputStream(f)) {

Thanks - should be fixed in 40a31c3bc13.

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

PR: https://git.openjdk.org/jdk/pull/12609


More information about the compiler-dev mailing list