Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java failed

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 27
    • Component/s: core-svc

      ---------System.out:(14/2719)*----------
      setting up the output dirs
      cleaning C:\\sb\\prod\\1770243036\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\TestSerializationMismatch.d\\Client\\
      cleaning C:\\sb\\prod\\1770243036\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\TestSerializationMismatch.d\\Server\\
      compiling client
      Running: javac [-d, C:\\sb\\prod\\1770243036\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\TestSerializationMismatch.d\\Client\\, -sourcepath, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Client\\, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Client\\Client.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Client\\ConfigKey.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Client\\TestNotification.java]
      compiling server
      Running: javac [-d, C:\\sb\\prod\\1770243036\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\TestSerializationMismatch.d\\Server\\, -sourcepath, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\Server.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\ConfigKey.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\TestNotification.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\Ste.java, C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27+8-633\\src.full\\open\\test\\jdk\\com\\sun\\jmx\\remote\\NotificationMarshalVersions\\Server\\SteMBean.java]
      starting server
      server started and listening on service:jmx:rmi:///jndi/rmi://localhost:12345/test
      starting client
      client connected
      client invoking foo (10 times)
      ..........
      waiting for 10 notifications to arrive
      ----------System.err:(22/1461)----------
      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at TestSerializationMismatch.startClient(TestSerializationMismatch.java:122)
      at TestSerializationMismatch.main(TestSerializationMismatch.java:66)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)
      Caused by: java.lang.Error: Client: Counter await expired
      at Client.run(Client.java:91)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more
      Feb 04, 2026 11:20:25 PM com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher fetchOneNotif
      WARNING: Failed to deserialize a notification: java.io.NotSerializableException

            Assignee:
            Kevin Walls
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: