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

javax/xml/jaxp/unittest/catalog/CatalogSupport3.java failed due to AccessControlException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 9
    • xml

      javax/xml/jaxp/unittest/catalog/CatalogSupport3.java failed due to AccessControlException

      test catalog.CatalogSupport3.testValidationC(true, false, "/scratch/mesos/work_dir/slaves/e053834b-c836-437c-a964-ec7a9c5adf82-S21/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8d670549-e6ce-4234-88f4-e2eff2bee369/runs/04da39ca-297e-4112-9c7e-3d7d0197a468/srcBundle/jaxp/test/javax/xml/jaxp/unittest/catalog/CatalogSupport.xml", "<?xml version="1.1" encoding="UTF-8"?><xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"> <xs:annotation> <xs:documentation> Part 1 version: Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp Part 2 version: Id: datatypes.xsd,v 1.3 2004/01/23 18:11:13 ht Exp </xs:documentation> </xs:annotation> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/pathto/xml.xsd"> <xs:annotation> <xs:documentation> Get access to the xml: attribute groups for xml:lang as declared on 'schema' and 'documentation' below </xs:documentation> </xs:annotation> </xs:import> <xs:element name="schema" id="schema"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:integer"> <xs:attribute ref="xml:lang"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element></xs:schema>", null): failure
      java.security.AccessControlException: access denied ("java.net.SocketPermission" "128.30.52.100:80" "connect,resolve")
      at java.security.AccessControlContext.checkPermission(java.base@9-internal/AccessControlContext.java:471)
      at java.security.AccessController.checkPermission(java.base@9-internal/AccessController.java:894)
      at java.lang.SecurityManager.checkPermission(java.base@9-internal/SecurityManager.java:548)
      at java.lang.SecurityManager.checkConnect(java.base@9-internal/SecurityManager.java:1050)
      at java.net.Socket.connect(java.base@9-internal/Socket.java:586)
      at sun.net.NetworkClient.doConnect(java.base@9-internal/NetworkClient.java:180)
      at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:432)
      at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:527)
      at sun.net.www.http.HttpClient.&lt;init&gt;(java.base@9-internal/HttpClient.java:211)
      at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:308)
      at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:326)
      at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(java.base@9-internal/HttpURLConnection.java:1196)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(java.base@9-internal/HttpURLConnection.java:1135)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(java.base@9-internal/HttpURLConnection.java:1029)
      at sun.net.www.protocol.http.HttpURLConnection.connect(java.base@9-internal/HttpURLConnection.java:963)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-internal/HttpURLConnection.java:1535)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-internal/HttpURLConnection.java:1463)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(java.xml@9-internal/XMLEntityManager.java:675)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(java.xml@9-internal/XMLVersionDetector.java:148)
      at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(java.xml@9-internal/SchemaParsingConfig.java:589)
      at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(java.xml@9-internal/SchemaParsingConfig.java:692)
      at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(java.xml@9-internal/SchemaDOMParser.java:529)
      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(java.xml@9-internal/XSDHandler.java:2195)
      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.resolveSchema(java.xml@9-internal/XSDHandler.java:2097)
      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.constructTrees(java.xml@9-internal/XSDHandler.java:1027)
      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(java.xml@9-internal/XSDHandler.java:631)
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(java.xml@9-internal/XMLSchemaLoader.java:618)
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(java.xml@9-internal/XMLSchemaLoader.java:577)
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(java.xml@9-internal/XMLSchemaLoader.java:543)
      at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(java.xml@9-internal/XMLSchemaFactory.java:275)
      at javax.xml.validation.SchemaFactory.newSchema(java.xml@9-internal/SchemaFactory.java:649)
      at catalog.CatalogSupportBase.testValidation(CatalogSupportBase.java:365)
      at catalog.CatalogSupport3.testValidationC(CatalogSupport3.java:146)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:537)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:844)

            fyuan Frank Yuan (Inactive)
            amjiang Amanda Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: