Hi, The fix looks ok to me.
Thanks, -- Yuka (2013/09/26 18:33), Masayoshi Okutsu wrote:
Hi, Please view the fix (workaround) for the following bug. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6902861 Added a workaround that Calendar.roll tries to stay in the same calendar year even when WEEK_OF_YEAR and YEAR are "out of sync". The real fix should be to add a new method, like rollWeeksInWeekYear(int amount), which handles rolling weeks within a week-based year rather than a calendar year. http://cr.openjdk.java.net/~okutsu/8/6902861/webrev.00/ Thanks, Masayoshi