[jdk8u-dev] RFR: 8348211: [8u] sun/management/jmxremote/startstop/JMXStartStopTest.java fails after backport of JDK-8066708

Zdenek Zambersky zzambers at openjdk.org
Tue Jan 21 20:08:14 UTC 2025


sun/management/jmxremote/startstop/JMXStartStopTest.java fails on 8u after [backport](https://github.com/openjdk/jdk8u-dev/pull/430) of JDK-8066708

**Problem:**

test_01 failed
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at JMXStartStopTest.main(JMXStartStopTest.java:294)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.rmi.NoSuchObjectException: no such object in table
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:380)
	at sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:91)
	at JMXStartStopTest.testConnect(JMXStartStopTest.java:201)
	at JMXStartStopTest.testConnect(JMXStartStopTest.java:187)
	at JMXStartStopTest.test_01(JMXStartStopTest.java:503)
	... 11 more
java.lang.Error
	at JMXStartStopTest.main(JMXStartStopTest.java:318)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)

JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test

-------------

Commit messages:
 - JMXStartStopTest.java: fix test after 8066708

Changes: https://git.openjdk.org/jdk8u-dev/pull/616/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=616&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348211
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/616.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/616/head:pull/616

PR: https://git.openjdk.org/jdk8u-dev/pull/616


More information about the jdk8u-dev mailing list