RFR: 8024876 : [TEST_BUG] javax/xml/jaxp/parsers/8022548/XOMParserTest.java failed when testbase dir has read only permissions

huizhe wang huizhe.wang at oracle.com
Mon Nov 4 22:32:55 UTC 2013


On 11/4/2013 12:38 AM, Alan Bateman wrote:
> On 31/10/2013 19:54, huizhe wang wrote:
>> A quick fix to remove path for the temporary output file so that it's 
>> created in the working directory instead:
>>
>> http://cr.openjdk.java.net/~joehw/jdk8/8024876/webrev/
> Just reading this now and wondering about xslFilename - is that closed 
> (as it's not obvious)?

It's closed, but outFilename was not. Since the behaviors are different 
among parsers, I've added them all in a try-with-resources statement.

Please review:
http://cr.openjdk.java.net/~joehw/jdk8/8024876/webrev/

Thanks,
Joe
>
> -Alan.




More information about the core-libs-dev mailing list