JDK-8173680 : JMXInterfaceBindingTest filter out loopback addresses
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 8-pool,9
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2017-01-31
  • Updated: 2024-07-04
  • Resolved: 2024-07-04
Related Reports
Duplicate :  
Description
JMXInterfaceBindingTest filter out loopback addresses: I suspect it's a bug that was added to cover up another bug (which is that the test doesn't work) - and the effect of that might have simply caused the test to be skipped (because it would then find only 1 address which is not the loopback). 
I was surprised to see that the -Djava.rmi.server.hostname system property was required, even for 9.
We should fix the test to do something useful and test the loopback interface. 
 
Comments
Closing as a duplicate of JDK-8219585.
04-07-2024

I believe the issue has been fixed by JDK-8219585, though we haven't managed to remove all instabilities (see JDK-8221303).
22-05-2019