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

Regression: javax/management/remote/mandatory/loading/MissingClassTest.java fails since 5.0u55

XMLWordPrintable

    • b01
    • generic
    • generic

      Testsuite name: Regression
      Test name: javax/management/remote/mandatory/loading/MissingClassTest.java
      JDK tested: JDK 5.0u55 b02
      OS tested: Linux 32-bit, Windows 64-bit
      Is it a regression: Yes
      Regression introduced in JDK 5.0u55 b01

      LOG:

      #section:main
      ----------messages:(3/123)----------
      command: main MissingClassTest
      reason: User specified action: run main MissingClassTest
      elapsed time (seconds): 60.801
      ----------System.out:(40/2930)----------
      Test that the client or server end of a connection does not fail if sent an object it cannot deserialize
      Testing for proto rmi
      Connecting for client-unknown test
      Getting attribute with class unknown to client
      Success: got an IOException wrapping a ClassNotFoundException
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Provoke exception of unknown class
      Success: got an IOException wrapping a ClassNotFoundException: java.lang.ClassNotFoundException: $ClientUnknown$ (no security manager: RMI class loader disabled)
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Send notifications including unknown ones
      Random number seed is 1372680579735
      Shuffle: kbtukkkkttbukkbtbtkkbutkbkbukttktubktututkkubkkututbkuktbbbutbtbbtbkukkuktutuubtutbubutbbtukkbbubtututkkbubktutuututkukttktbkkktubbtbbbbububtktbubbtubkukkuubbbtbkktukukbutbtktuutbkbuuuukttutkkutkkubbt
      TEST FAILS: Timed out without receiving all notifs: known=1; lost=0
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Trying setAttribute with class unknown to server
      Success: got an IOException wrapping a ClassNotFoundException
      Trying invoke with class unknown to server
      Success: got an IOException wrapping a ClassNotFoundException
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Trying to get unserializable attribute
      Success: got an IOException: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread (cause: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread)
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Trying to set unserializable attribute
      Success: got an IOException: java.io.NotSerializableException: java.lang.Thread (cause: null)
      Doing queryNames to ensure connection alive
      queryNames returned [JMImplementation:type=MBeanServerDelegate, test:type=Test]
      Trying to throw unserializable exception
      Success: got an IOException: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
      java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: MissingClassTest$Test (cause: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: MissingClassTest$Test)
      Ignoring JMXConnectionNotification: javax.management.remote.JMXConnectionNotification/jmx.remote.connection.closed "Client has been closed" <null>

      Testing for proto jmxmp
      System does not recognize URL: service:jmx:jmxmp://stt-27; ignoring
      TEST FAILED
      ----------System.err:(2/171)----------
      Jul 1, 2013 4:09:39 PM ClientNotifForwarder NotifFetcher.fetchOneNotif
      WARNING: Failed to deserialize a notification: java.io.NotSerializableException: java.lang.Thread
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

            jbachorik Jaroslav BachorĂ­k
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: