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

JSR160 - b35 does not pass the TCK (classloading problem)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 1.0
    • core-svc
    • b26
    • unknown
    • generic
    • Verified

      b35

      This is a regression compared to b34.
      Six TCK tests about loading fail (2 tests per 3 protocols).
      The loader as provided with key DEFAULT_CLASS_LOADER in the map seems unused.

      In tests.api.javax.management.remote.loading.mandatory.ClientDefaultClassLoaderTest the following test cases fail :
      JMXConnectorFactory0002
      JMXConnectorFactory0003
      JMXConnectorFactory0004

      Example of stack :

      Got unexpected exception: java.lang.IllegalArgumentException: javax.management.remote.JMXConnectorProvider: Provider com.sun.jmx.remote.protocol.jmxmp.ClientProvider not found
      java.lang.IllegalArgumentException: javax.management.remote.JMXConnectorProvider: Provider com.sun.jmx.remote.protocol.jmxmp.ClientProvider not found
      at com.sun.jmx.remote.util.Service.fail(Service.java:132)
      at com.sun.jmx.remote.util.Service.access$000(Service.java:114)
      at com.sun.jmx.remote.util.Service$LazyIterator.next(Service.java:275)
      at javax.management.remote.JMXConnectorFactory.getConnectorAsService(JMXConnectorFactory.java:402)
      at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:298)
      at tests.api.javax.management.remote.loading.mandatory.ClientDefaultClassLoaderTest.runTest(ClientDefaultClassLoaderTest.java:173)
      at tests.api.javax.management.remote.loading.mandatory.ClientDefaultClassLoaderTest.JMXConnectorFactory0002(ClientDefaultClassLoaderTest.java:472)
      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:324)
      at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:176)
      at com.sun.javatest.lib.MultiTest.run(MultiTest.java:115)
      at tests.api.javax.management.remote.loading.mandatory.ClientDefaultClassLoaderTest.main(ClientDefaultClassLoaderTest.java:578)

      In tests.api.javax.management.remote.loading.mandatory.ServerDefaultClassLoaderTest the following test cases fail :
      JMXConnectorServerFactory0004
      JMXConnectorServerFactory0005
      JMXConnectorServerFactory0007

      Example of stack :

      Got unexpected exception: java.lang.IllegalArgumentException: javax.management.remote.JMXConnectorServerProvider: Provider com.sun.jmx.remote.protocol.jmxmp.ServerProvider not found
      java.lang.IllegalArgumentException: javax.management.remote.JMXConnectorServerProvider: Provider com.sun.jmx.remote.protocol.jmxmp.ServerProvider not found
      at com.sun.jmx.remote.util.Service.fail(Service.java:132)
      at com.sun.jmx.remote.util.Service.access$000(Service.java:114)
      at com.sun.jmx.remote.util.Service$LazyIterator.next(Service.java:275)
      at javax.management.remote.JMXConnectorServerFactory.getConnectorServerAsService(JMXConnectorServerFactory.java:207)
      at javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer(JMXConnectorServerFactory.java:285)
      at tests.api.javax.management.remote.loading.mandatory.ServerDefaultClassLoaderTest.runMBeanServerConnectionRequests(ServerDefaultClassLoaderTest.java:358)
      at tests.api.javax.management.remote.loading.mandatory.ServerDefaultClassLoaderTest.JMXConnectorServerFactory0004(ServerDefaultClassLoaderTest.java:953)
      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:324)
      at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:176)
      at com.sun.javatest.lib.MultiTest.run(MultiTest.java:115)
      at tests.api.javax.management.remote.loading.mandatory.ServerDefaultClassLoaderTest.main(ServerDefaultClassLoaderTest.java:1089)

            busersunw Btplusnull User (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: