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

[TEST_BUG] com/sun/org/apache/xml/internal/utils/Test.java failing since JDK 5u65

XMLWordPrintable

    • generic
    • generic

      Testsuite name: Regression
      Test name(s):com/sun/org/apache/xml/internal/utils/Test.java
      Product(s) tested: JDK 5u85b09 (32-bit)
      OS/architecture: Linux/x64

      Error log file (if present):see comments
      Reproducible: Always
      Reproducible on machine: spb23324.ru.oracle.com, spb23196.ru.oracle.com
          
      Is it a Regression: Not sure ( Failing since 5u65b01 and afterwards)
      Regression introduced in release/build: N/A
      Test result on the last GAed release for this train:
      Test result on FCS:

      Is it a platform specific issue: No.(failing on Linux also)
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
      [If new configuration testing] Issue specific to execution mode or OS/browser version: No

      Exception/Error from Log:
      ----------System.err:(35/2402)----------
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.parsers)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:317)
      at java.security.AccessController.checkPermission(AccessController.java:427)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1508)
      at java.lang.ClassLoader$1.run(ClassLoader.java:336)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:334)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:626)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at Test$1.getXMLReader(Test.java:95)
      at com.sun.org.apache.xml.internal.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:274)
      at Test.test(Test.java:107)
      at Test.main(Test.java:69)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:657)

      JavaTest Message: Test threw exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.parsers)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.parsers)

      Steps to reproduce : see comments

            aefimov Aleksej Efimov
            sgupta Shobhit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: