8250602: Update sun/security/ssl/SSLLogger/LoggerDateFormatterTest.java to handle TimeZones
This fix updates the test LoggerDateFormatterTest.java to be able to handle different TimeZones Reviewed-by: alanb, dfuchs, xuelei
This commit is contained in:
parent
6af643e5a1
commit
17035efe87
@ -48,7 +48,7 @@ public class LoggerDateFormatterTest {
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user