--- a/jdk/test/sun/text/resources/Collator/Bug4248694.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Collator/Bug4248694.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -24,11 +24,13 @@
/*
* @test
* @bug 4248694
+ * @modules jdk.localedata
* @summary updating collation tables for icelandic
*/
-import java.text.*;
-import java.util.*;
+import java.text.Collator;
+import java.util.Arrays;
+import java.util.Locale;
public class Bug4248694 {
--- a/jdk/test/sun/text/resources/Collator/Bug4804273.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Collator/Bug4804273.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -24,11 +24,13 @@
/*
* @test
* @bug 4804273
+ * @modules jdk.localedata
* @summary updating collation tables for swedish
*/
-import java.text.*;
-import java.util.*;
+import java.text.Collator;
+import java.util.Arrays;
+import java.util.Locale;
public class Bug4804273 {
--- a/jdk/test/sun/text/resources/Collator/Bug6755060.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Collator/Bug6755060.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2016, 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
@@ -24,11 +24,13 @@
/*
* @test
* @bug 6755060
+ * @modules jdk.localedata
* @summary updating collation tables for thai to make it consistent with CLDR 1.9
*/
-import java.text.*;
-import java.util.*;
+import java.text.Collator;
+import java.util.Arrays;
+import java.util.Locale;
public class Bug6755060 {
--- a/jdk/test/sun/text/resources/Format/Bug4395196.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4395196.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -22,15 +22,18 @@
*/
/*
- *@test
- *@bug 4395196 4930708 4900884 4890240 8008577
- *@summary verify the ko DateFormat
- *@run main/othervm -Djava.locale.providers=JRE,SPI Bug4395196
-*/
+ * @test
+ * @bug 4395196 4930708 4900884 4890240 8008577
+ * @modules jdk.localedata
+ * @summary verify the ko DateFormat
+ * @run main/othervm -Djava.locale.providers=JRE,SPI Bug4395196
+ */
-import java.io.*;
-import java.text.*;
-import java.util.*;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
public class Bug4395196
{
--- a/jdk/test/sun/text/resources/Format/Bug4442855.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4442855.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -22,14 +22,16 @@
*/
/*
- *@test
- *@bug 4442855
- *@summary verify the era's translation for tradition chinese
+ * @test
+ * @bug 4442855
+ * @modules jdk.localedata
+ * @summary verify the era's translation for tradition chinese
*/
-import java.io.*;
-import java.util.*;
-import java.text.*;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
public class Bug4442855
{
--- a/jdk/test/sun/text/resources/Format/Bug4621320.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4621320.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -24,10 +24,12 @@
/*
* @test
* @bug 4621320
+ * @modules jdk.localedata
* @summary Verify that Ukrainian month name is correct.
*/
-import java.text.*;
-import java.util.*;
+
+import java.text.DateFormatSymbols;
+import java.util.Locale;
public class Bug4621320 {
--- a/jdk/test/sun/text/resources/Format/Bug4651568.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4651568.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -22,10 +22,11 @@
*/
/*
- *@test
- *@bug 4651568 8008577
- *@summary Verifies the currency pattern for pt_BR locale
- *@run main/othervm -Djava.locale.providers=JRE,SPI Bug4651568
+ * @test
+ * @bug 4651568 8008577
+ * @modules jdk.localedata
+ * @summary Verifies the currency pattern for pt_BR locale
+ * @run main/othervm -Djava.locale.providers=JRE,SPI Bug4651568
*/
import java.text.DecimalFormat;
--- a/jdk/test/sun/text/resources/Format/Bug4762201.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4762201.java Fri Sep 09 10:58:05 2016 -0700
@@ -22,15 +22,17 @@
*/
/*
- *@test
- *@bug 4762201
- *@summary verify the zh_CN full time pattern (and other time patterns)
- *@run main/othervm -Djava.locale.providers=COMPAT,SPI Bug4762201
-*/
+ * @test
+ * @bug 4762201
+ * @modules jdk.localedata
+ * @summary verify the zh_CN full time pattern (and other time patterns)
+ * @run main/othervm -Djava.locale.providers=COMPAT,SPI Bug4762201
+ */
-import java.io.*;
-import java.text.*;
-import java.util.*;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Locale;
public class Bug4762201
{
--- a/jdk/test/sun/text/resources/Format/Bug4807540.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4807540.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -24,6 +24,7 @@
/*
* @test %i%
* @bug 4807540 8008577
+ * @modules jdk.localedata
* @summary updating dateformat for sl_SI
* @run main/othervm -Djava.locale.providers=JRE,SPI Bug4807540
*/
--- a/jdk/test/sun/text/resources/Format/Bug4810032.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4810032.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -22,14 +22,16 @@
*/
/*
- *@test
- *@bug 4810032 8008577
- *@summary verify the ja full time pattern parsing
+ * @test
+ * @bug 4810032 8008577
+ * @modules jdk.localedata
+ * @summary verify the ja full time pattern parsing
* @run main/othervm -Djava.locale.providers=JRE,SPI Bug4810032
*/
-import java.text.*;
-import java.util.*;
+import java.text.DateFormat;
+import java.text.ParseException;
+import java.util.Locale;
public class Bug4810032
{
--- a/jdk/test/sun/text/resources/Format/Bug4994312.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug4994312.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -22,9 +22,10 @@
*/
/*
- *@test
- *@bug 4994312 8008577
- *@summary verify the German locale will accept localized pattern chars 't' and 'u'.
+ * @test
+ * @bug 4994312 8008577
+ * @modules jdk.localedata
+ * @summary verify the German locale will accept localized pattern chars 't' and 'u'.
* @run main/othervm -Djava.locale.providers=JRE,SPI Bug4994312
*/
--- a/jdk/test/sun/text/resources/Format/Bug5096553.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug5096553.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, 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
@@ -24,6 +24,7 @@
/*
* @test
* @bug 5096553 8008577
+ * @modules jdk.localedata
* @summary updating dateformat for da_DK
* following resources:
* http://oss.software.ibm.com/cvs/icu/~checkout~/locale/common/main/da.xml
--- a/jdk/test/sun/text/resources/Format/Bug8037343.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug8037343.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, 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
@@ -24,6 +24,7 @@
/*
* @test
* @bug 8008577 8037343
+ * @modules jdk.localedata
* @summary updating dateformat for es_DO
* @run main/othervm -Djava.locale.providers=JRE,SPI Bug8037343
*/
--- a/jdk/test/sun/text/resources/Format/Bug8074791.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/Format/Bug8074791.java Fri Sep 09 10:58:05 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, 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
@@ -24,6 +24,7 @@
/*
* @test
* @bug 8074791
+ * @modules jdk.localedata
* @summary Make sure that Finnish month names are correct in formatted text.
*/
@@ -32,7 +33,7 @@
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;
-import static java.text.DateFormat.*;
+import static java.text.DateFormat.LONG;
import static java.util.Calendar.JANUARY;
public class Bug8074791 {
--- a/jdk/test/sun/text/resources/LocaleDataTest.java Wed Sep 07 14:44:59 2016 -0700
+++ b/jdk/test/sun/text/resources/LocaleDataTest.java Fri Sep 09 10:58:05 2016 -0700
@@ -40,6 +40,7 @@
* 8145136
* @summary Verify locale data
* @modules java.base/sun.util.resources
+ * @modules jdk.localedata
* @run main LocaleDataTest
* @run main LocaleDataTest -cldr
*
@@ -145,12 +146,20 @@
* this test against the new version of the data.
*/
-import java.io.*;
-import java.text.*;
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FilterReader;
+import java.io.FilterWriter;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.OutputStreamWriter;
+import java.io.PrintWriter;
+import java.io.Reader;
+import java.io.Writer;
import java.util.Locale;
+import java.util.MissingResourceException;
import java.util.ResourceBundle;
-import java.util.ResourceBundle.Control;
-import java.util.MissingResourceException;
import sun.util.resources.LocaleData;
public class LocaleDataTest