mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-28 19:20:33 +00:00
8133044: [TESTBUG] CLDRDisplayNameTest uses deprecated API, fails
Reviewed-by: okutsu
This commit is contained in:
parent
ae676b44c4
commit
b9a10bbf8d
@ -109,9 +109,6 @@ public class CLDRDisplayNamesTest {
|
||||
fmtROOT.parse("Thu Nov 13 04:35:51 AKST 2008");
|
||||
fmtUS.parse("Thu Nov 13 04:35:51 AKST 2008");
|
||||
fmtUK.parse("Thu Nov 13 04:35:51 GMT-09:00 2008");
|
||||
String dateString = new Date().toString();
|
||||
System.out.println("Date: "+dateString);
|
||||
System.out.println("Parsed Date: "+new Date(Date.parse(dateString)).toString());
|
||||
} catch (ParseException pe) {
|
||||
System.err.println(pe);
|
||||
errors++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user