Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248406

Some zipfs tests fail with AccessControlException

    XMLWordPrintable

Details

    • b06

    Backports

      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 for JDK-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".

        Attachments

          Issue Links

            Activity

              People

                bae Andrew Brygin
                bae Andrew Brygin
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: