diff options
author | sgehwolf <unknown> | 2019-12-13 08:11:30 +0000 |
---|---|---|
committer | bell-sw <liberica@bell-sw.com> | 2020-01-19 09:13:02 +0300 |
commit | 206c56d215880062c087e1cc5bf6aa42eb71171c (patch) | |
tree | 6f74dcd07a797f4acbd806bf52036d0607736abe /test | |
parent | 853c0eb2fdf36a7428f7b9a58eb1181635dbcdc0 (diff) | |
download | jdk8u_jdk-206c56d215880062c087e1cc5bf6aa42eb71171c.tar.gz |
8195088: [TEST_BUG] StartManagementAgent got unexpected exception
Reviewed-by: sspitsyn, andrew
Diffstat (limited to 'test')
-rw-r--r-- | test/com/sun/tools/attach/StartManagementAgent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/com/sun/tools/attach/StartManagementAgent.java b/test/com/sun/tools/attach/StartManagementAgent.java index da8289558a..cc3969084e 100644 --- a/test/com/sun/tools/attach/StartManagementAgent.java +++ b/test/com/sun/tools/attach/StartManagementAgent.java @@ -93,7 +93,7 @@ public class StartManagementAgent { } 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; } } |