Details
-
Bug
-
Resolution: Fixed
-
P3
-
13.0.4
-
b06
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8249499 | 13.0.5 | Andrew Brygin | P3 | Resolved | Fixed | b01 |
Description
Following tests fail in 13.0.4 after backport of JDK-8229888 with AccessControlException:
jdk/nio/zipfs/DirectoryStreamTests.java
jdk/nio/zipfs/ZFSTests.java
jdk/nio/zipfs/ZipFSTester.java
The root cause of the failure is that default.policy has not been updated with RuntimePermission "accessUserInformation". In jdk14 this update was a part of the fix forJDK-8213031. This fix has not been backported to 13u, so this permission update shall be done as a part of backport for JDK-8229888, but has been missed.
Suggested solution is to add RuntimePermission "accessUserInformation".
jdk/nio/zipfs/DirectoryStreamTests.java
jdk/nio/zipfs/ZFSTests.java
jdk/nio/zipfs/ZipFSTester.java
The root cause of the failure is that default.policy has not been updated with RuntimePermission "accessUserInformation". In jdk14 this update was a part of the fix for
Suggested solution is to add RuntimePermission "accessUserInformation".
Attachments
Issue Links
- backported by
-
JDK-8249499 Some zipfs tests fail with AccessControlException
- Resolved