RFR: 8246431: java/net/httpclient/PathSubscriber tests fail due to missing FilePermission

Daniel Fuchs daniel.fuchs at oracle.com
Thu Jun 4 21:01:34 UTC 2020


Hi Julia,

Thanks for taking care of this.

Your propose changes look good to me.

best regards,

-- daniel

On 04/06/2020 17:24, Julia Boes wrote:
> Hi,
> 
> The tests in java/net/httpclient/PathSubscriber don't grant certain file 
> permissions to test library classes. The tests succeed by chance when 
> the compiled library classes are placed under ${test.classes}, but 
> occasionally they fail, depending on which test target compiles the 
> library first. This fix adds a FilePermission to the test/lib code base 
> to cover all cases.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8246431
> 
> Webrev: http://cr.openjdk.java.net/~jboes/webrevs/8246431/webrev.00/
> 
> Cheers,
> 
> Julia
> 



More information about the net-dev mailing list