7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8

Reviewed-by: peytoia
This commit is contained in:
Masayoshi Okutsu 2013-06-07 17:37:23 +09:00
parent f1d2e9ae5a
commit b5131a87e3

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,8 +32,8 @@ import java.util.*;
import static java.util.GregorianCalendar.*;
public class WeekDateTest {
static SimpleDateFormat ymdFormat = new SimpleDateFormat("yyyy-MM-dd");
static SimpleDateFormat ywdFormat = new SimpleDateFormat("YYYY-'W'ww-u");
static SimpleDateFormat ymdFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.US);
static SimpleDateFormat ywdFormat = new SimpleDateFormat("YYYY-'W'ww-u", Locale.US);
static {
ymdFormat.setCalendar(newCalendar());
ywdFormat.setCalendar(newCalendar());