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

StackOverflowError during PolicyFile lookup

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b37
    • Introduced In Version:
      9
    • Resolved In Build:
      b66

      Backports

        Description

        StackOverflowError when running nsk/stress/jck60/jck60014:

        [2015-05-07T15:37:54.25] java.lang.StackOverflowError
        [2015-05-07T15:37:54.25] at java.security.AccessController.doPrivileged(Native Method)
        [2015-05-07T15:37:54.25] at java.io.FilePermission.init(FilePermission.java:204)
        [2015-05-07T15:37:54.25] at java.io.FilePermission.<init>(FilePermission.java:278)
        [2015-05-07T15:37:54.25] at java.lang.SecurityManager.checkRead(SecurityManager.java:880)
        [2015-05-07T15:37:54.25] at java.io.File.isDirectory(File.java:844)
        [2015-05-07T15:37:54.25] at sun.net.www.ParseUtil.fileToEncodedURL(ParseUtil.java:269)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.canonicalizeCodebase(PolicyFile.java:1715)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.access$700(PolicyFile.java:258)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile$5.run(PolicyFile.java:1168)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile$5.run(PolicyFile.java:1166)
        [2015-05-07T15:37:54.25] at java.security.AccessController.doPrivileged(Native Method)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1165)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1112)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.implies(PolicyFile.java:1066)
        [2015-05-07T15:37:54.25] at java.security.ProtectionDomain.implies(ProtectionDomain.java:278)
        [2015-05-07T15:37:54.25] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:446)
        [2015-05-07T15:37:54.25] at java.security.AccessController.checkPermission(AccessController.java:894)
        [2015-05-07T15:37:54.25] at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
        [2015-05-07T15:37:54.25] at javasoft.sqe.tests.api.java.lang.ClassLoader.CustomSecurityManager.checkPermission(CustomSecurityManager.java:60)
        [2015-05-07T15:37:54.25] at java.lang.SecurityManager.checkRead(SecurityManager.java:880)
        [2015-05-07T15:37:54.25] at java.io.File.isDirectory(File.java:844)
        [2015-05-07T15:37:54.25] at sun.net.www.ParseUtil.fileToEncodedURL(ParseUtil.java:269)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.canonicalizeCodebase(PolicyFile.java:1715)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.access$700(PolicyFile.java:258)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile$5.run(PolicyFile.java:1168)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile$5.run(PolicyFile.java:1166)
        [2015-05-07T15:37:54.25] at java.security.AccessController.doPrivileged(Native Method)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1165)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1112)
        [2015-05-07T15:37:54.25] at sun.security.provider.PolicyFile.implies(PolicyFile.java:1066)
        [2015-05-07T15:37:54.25] at java.security.ProtectionDomain.implies(ProtectionDomain.java:278)
        [2015-05-07T15:37:54.25] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:446)
        [2015-05-07T15:37:54.25] at java.security.AccessController.checkPermission(AccessController.java:894)
        [2015-05-07T15:37:54.25] at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
        [2015-05-07T15:37:54.25] at javasoft.sqe.tests.api.java.lang.ClassLoader.CustomSecurityManager.checkPermission(CustomSecurityManager.java:60)
        [2015-05-07T15:37:54.25] at java.lang.SecurityManager.checkRead(SecurityManager.java:880)
        [2015-05-07T15:37:54.25] at java.io.File.isDirectory(File.java:844)
        ...

        RULE nsk/stress/jck60/jck60014 StatusError Maximum log length (32MB) exceeded

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                skovalev Sergei Kovalev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: