8251155 introduces a test which uses jps to check we can handle a hostname which is numeric. This test runs jps on a fictional process, e.g. pid 12345, and passes as long as a malformed address exception is not seen.
I see the test taking 2min30s to timeout and fail on my system, and I see mach5 runs that can take 7 minutes, and pass.
My system times out and fails, I see mach5 systems with the error:
Exception creating connection to: 12345; nested exception is:
java.net.SocketException: Network is unreachable: connect
..but not a test failure.
As we already have a HostIdentifier test, we should add the test patterns from
open/test/jdk/sun/jvmstat/monitor/HostIdentifier/HostIdentifierCreate.java and test the creation of a HostIdentifier with the numeric patterns.