7000136: Backward compatibility problem in LocaleNameProvider
authornaoto
Thu, 18 Nov 2010 11:35:31 -0800
changeset 7252 2316b2e837d8
parent 7251 bfbe5cb5fbb2
child 7253 58ff073169cb
7000136: Backward compatibility problem in LocaleNameProvider Reviewed-by: srl Contributed-by: y.umaoka@gmail.com
jdk/src/share/classes/java/util/spi/LocaleNameProvider.java
--- a/jdk/src/share/classes/java/util/spi/LocaleNameProvider.java	Thu Nov 18 19:52:40 2010 +0300
+++ b/jdk/src/share/classes/java/util/spi/LocaleNameProvider.java	Thu Nov 18 11:35:31 2010 -0800
@@ -94,7 +94,9 @@
      * @see java.util.Locale#getDisplayScript(java.util.Locale)
      * @since 1.7
      */
-    public abstract String getDisplayScript(String scriptCode, Locale locale);
+    public String getDisplayScript(String scriptCode, Locale locale) {
+        return null;
+    }
 
     /**
      * Returns a localized name for the given <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">