OpenJDK / jdk8u / jdk8u / jdk
changeset 13737:f57269c2338a
8195088: [TEST_BUG] StartManagementAgent got unexpected exception
Reviewed-by: sspitsyn, andrew
author | sgehwolf |
---|---|
date | Fri, 13 Dec 2019 08:11:30 +0000 |
parents | 85f8b33f5508 |
children | 0b4619a5154a |
files | test/com/sun/tools/attach/StartManagementAgent.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/com/sun/tools/attach/StartManagementAgent.java Fri Dec 13 08:08:02 2019 +0000 +++ b/test/com/sun/tools/attach/StartManagementAgent.java Fri Dec 13 08:11:30 2019 +0000 @@ -93,7 +93,7 @@ } catch(AttachOperationFailedException ex) { // We expect parsing of "apa" above to fail, but if the file path // can't be read we get a different exception message - if (!ex.getMessage().contains("Invalid com.sun.management.jmxremote.port number")) { + if (!ex.getMessage().contains("NumberFormatException: For input string: \"apa\"")) { throw ex; } }