RFR 9: 8044051 Test jdk/lambda/vm/InterfaceAccessFlagsTest.java gets IOException during compilation

Roger Riggs Roger.Riggs at Oracle.com
Fri Feb 27 02:08:45 UTC 2015


Hi Joe,

Yes, jtreg sets the current directory to the scratch directory before 
starting the test.
The fix here is to use that directory (".") instead of using the jre's 
temp directory.

Roger

On 2/26/2015 6:34 PM, Joseph D. Darcy wrote:
> Hi Roger,
>
> Doesn't jtreg define a test-specific scratch directory? Is that not 
> available to TestNG tests?
>
> Cheers,
>
> -Joe
>
> On 2/26/2015 1:14 PM, Roger Riggs wrote:
>> Please review this test fix to make the test more robust to 
>> configuration and
>> pollution of the temp directory.
>>
>> Webrev:
>>    http://cr.openjdk.java.net/~rriggs/webrev-ioex-8044051/
>>
>> Issue:
>>   https://bugs.openjdk.java.net/browse/JDK-8044051
>>
>> Thanks, Roger
>




More information about the core-libs-dev mailing list