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

javax/management/remote/mandatory/notif/NotificationAccessControllerTest.java fails in JDK8-B22

XMLWordPrintable

        I observed the following SDK/JDK test fail in my baseline test for JDK8-B22
        on Solaris-X86 and Solaris X64:

            javax/management/remote/mandatory/notif/NotificationAccessControllerTest.java

        Here is a snippet from the .jtr file:

        removeNotificationListener:
                connectionId: rmi://141.144.21.178 role 2
                name: domain:type=NB,name=2
                subject: [JMXPrincipal: role]
        Error: expecting 1 notifications, got 0
        fetchNotification:
                connectionId: rmi://141.144.21.178 role 2
                name: domain:type=NB,name=1
                notification: javax.management.Notification[source=domain:type=NB,name=1
        ][type=nb][message=]
                subject: [JMXPrincipal: role]


        <snip>

        ----------System.err:(19/952)----------
        java version "1.8.0-ea"
        Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
        Java HotSpot(TM) Server VM (build 23.0-b10-fastdebug, compiled mode)

        java.lang.IllegalArgumentException:
        Test FAILED! Got 1 error(s)
                at NotificationAccessControllerTest.main(NotificationAccessControllerTes
        t.java:373)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        sorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:474)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
        94)
                at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.IllegalArgumentException:
        Test FAILED! Got 1 error(s)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.IllegalArgumentException: Test
        FAILED! Got 1 error(s)
        result: Failed. Execution failed: `main' threw exception: java.lang.IllegalArgum
        entException: Test FAILED! Got 1 error(s)


        test result: Failed. Execution failed: `main' threw exception: java.lang.Illegal
        ArgumentException: Test FAILED! Got 1 error(s)


        The failure on Solaris X64 looks the same; here is the config info:

        java version "1.8.0-ea"
        Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
        Java HotSpot(TM) 64-Bit Server VM (build 23.0-b10-fastdebug, compiled mode)

              jbachorik Jaroslav Bachorík
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: