Some zipfs tests fail with AccessControlException

XMLWordPrintable

    • b06

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

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

                Created:
                Updated:
                Resolved: