RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Frank Yuan
frank.yuan at oracle.com
Wed Jul 10 08:34:35 UTC 2019
IOException is expected by set 333 permission, please read https://bugs.openjdk.java.net/browse/JDK-6977851
Anyway, please note this patch is to fix the directory was not cleaned after test completed to run.
Thanks
Frank
From: Vyom Tewari26 [mailto:vtewar26 at in.ibm.com]
Sent: Wednesday, July 10, 2019 2:34 PM
To: frank.yuan at oracle.com
Cc: net-dev at openjdk.java.net
Subject: Re: RE: RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
that's what i suspected, but test is passing at my local env even after i changes the permission to 733.
Vyom
----- Original message -----
From: "Frank Yuan" <frank.yuan at oracle.com <mailto:frank.yuan at oracle.com> >
To: "'Vyom Tewari26'" <vtewar26 at in.ibm.com <mailto:vtewar26 at in.ibm.com> >
Cc: <net-dev at openjdk.java.net <mailto:net-dev at openjdk.java.net> >
Subject: [EXTERNAL] RE: RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Date: Wed, Jul 10, 2019 11:33 AM
Hi Vyom
The test requires the directory to be unreadable.
Thanks
Frank
From: Vyom Tewari26 [mailto:vtewar26 at in.ibm.com]
Sent: Wednesday, July 10, 2019 1:53 PM
To: frank.yuan at oracle.com <mailto:frank.yuan at oracle.com>
Cc: net-dev at openjdk.java.net <mailto:net-dev at openjdk.java.net>
Subject: Re: RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Hi Frank,
thanks for fixing this issue, in test setup we are setting the permissions explicitly to 333, can we set the permissions 733 in test setup itself ?.
i changed the permission to 733 in test setup and run the test at my Linux box and test ran successfully without any problem.
thanks,
Vyom
----- Original message -----
From: "Frank Yuan" <frank.yuan at oracle.com <mailto:frank.yuan at oracle.com> >
Sent by: "net-dev" <net-dev-bounces at openjdk.java.net <mailto:net-dev-bounces at openjdk.java.net> >
To: <net-dev at openjdk.java.net <mailto:net-dev at openjdk.java.net> >
Cc:
Subject: [EXTERNAL] RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Date: Wed, Jul 10, 2019 10:37 AM
Hi all
Would you like to review this patch?
Bug: https://bugs.openjdk.java.net/browse/JDK-8227422
Webrev: http://cr.openjdk.java.net/~fyuan/8227422/webrev.00/
In this patch, I add read permission before cleaning up the test directory to make sure the directory is removable on Windows system.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190710/4feba976/attachment-0001.html>
More information about the net-dev
mailing list