Skip to content

Commit

Permalink
8337720: Test com/sun/jndi/dns/ConfigTests/Timeout.java fails with C1…
Browse files Browse the repository at this point in the history
… mode by fastdebug binary
  • Loading branch information
sendaoYan committed Aug 2, 2024
1 parent dc35f3e commit ccf3f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* number of retries.
* @library ../lib/ /test/lib
* @modules java.base/sun.security.util
* @requires vm.debug != true & vm.compiler2.enabled
* @run main Timeout
*/

Expand Down Expand Up @@ -113,7 +114,7 @@ public boolean handleException(Exception e) {
}
throw new RuntimeException(
"Failed: timeout in " + elapsedTime.toMillis()
+ " ms, expected" + expectedTime.toMillis() + "ms");
+ "ms, expected " + expectedTime.toMillis() + "ms");
}

return super.handleException(e);
Expand Down

0 comments on commit ccf3f98

Please sign in to comment.