-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
8
SimpleDateFormat parse method is failing with java.text.ParseException: Unparseable date exception when the pattern MM/dd/yyyy a h:mm:ss z is used and the locale provider is set to CLDR .
The timezone is set to UTC and locale is set to 'English'.
Reporoducer (Main.java) is attached.
Steps to reprodcuce.
1. Compile Main.java.
2. {JAVA_HOME}/java -Djava.locale.providers=CLDR -showversion Main
The test passes if we use the default provider of jdk8 (JRE provider) or if we explicitly se it as argument {JAVA_HOME}/java -Djava.locale.providers=JRE -showversion Main
The timezone is set to UTC and locale is set to 'English'.
Reporoducer (Main.java) is attached.
Steps to reprodcuce.
1. Compile Main.java.
2. {JAVA_HOME}/java -Djava.locale.providers=CLDR -showversion Main
The test passes if we use the default provider of jdk8 (JRE provider) or if we explicitly se it as argument {JAVA_HOME}/java -Djava.locale.providers=JRE -showversion Main