changeset 3091:ef4db681a1fd

7000136: Backward compatibility problem in LocaleNameProvider Reviewed-by: srl Contributed-by: y.umaoka@gmail.com
author naoto
date Thu, 18 Nov 2010 11:35:31 -0800
parents 10965b60a13e
children 917aca396b10
files src/share/classes/java/util/spi/LocaleNameProvider.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/spi/LocaleNameProvider.java	Thu Nov 18 19:52:40 2010 +0300
+++ b/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">