Skip to content
Permalink
Browse files

8250602: Update sun/security/ssl/SSLLogger/LoggerDateFormatterTest.ja…

…va to handle TimeZones

This fix updates the test LoggerDateFormatterTest.java to be able to handle different TimeZones

Reviewed-by: alanb, dfuchs, xuelei
  • Loading branch information
rhyadav authored and pconcannon committed Jul 29, 2020
1 parent 6af643e commit 17035efe87f146e1808cc586a23673cb6a8490ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/jdk/sun/security/ssl/SSLLogger/LoggerDateFormatterTest.java
@@ -48,7 +48,7 @@
SSLPrintStream sslStream;
static String year = "(\\|\\d\\d\\d\\d-\\d\\d-\\d\\d";
static String hour = "\\s\\d\\d:\\d\\d:\\d\\d\\.\\d\\d\\d\\s";
static String zone = "\\w\\w\\w\\|)";
static String zone = "([A-Za-z]+([\\+\\-][0-2]?[0-9](\\:[0-5]?[0-9]))?))";
static Pattern pattern;
Matcher matcher;

0 comments on commit 17035ef

Please sign in to comment.