am 8e194d42: am f602b9df: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '8e194d42bb9c7d518f060befddd415d63776bcb5':
  Delay SSLSocketImpl instantiation until needed DO NOT MERGE
diff --git a/luni/src/main/java/java/text/spi/BreakIteratorProvider.java b/luni/src/main/java/java/text/spi/BreakIteratorProvider.java
deleted file mode 100644
index a28bc53..0000000
--- a/luni/src/main/java/java/text/spi/BreakIteratorProvider.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.BreakIterator;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers that provide
- * instances of {@code BreakIterator}.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class BreakIteratorProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected BreakIteratorProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code BreakIterator} for word breaks in the
-     * given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code BreakIterator}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract BreakIterator getWordInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code BreakIterator} for line breaks in the
-     * given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code BreakIterator}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract BreakIterator getLineInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code BreakIterator} for character breaks in the
-     * given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code BreakIterator}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract BreakIterator getCharacterInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code BreakIterator} for sentence breaks in the
-     * given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code BreakIterator}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract BreakIterator getSentenceInstance(Locale locale);
-}
diff --git a/luni/src/main/java/java/text/spi/CollatorProvider.java b/luni/src/main/java/java/text/spi/CollatorProvider.java
deleted file mode 100644
index 0862432..0000000
--- a/luni/src/main/java/java/text/spi/CollatorProvider.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.Collator;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers which provide
- * instances of {@code Collator}.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class CollatorProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected CollatorProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code Collator} for the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code Collator}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract Collator getInstance(Locale locale);
-}
diff --git a/luni/src/main/java/java/text/spi/DateFormatProvider.java b/luni/src/main/java/java/text/spi/DateFormatProvider.java
deleted file mode 100644
index 59fefed..0000000
--- a/luni/src/main/java/java/text/spi/DateFormatProvider.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.DateFormat;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers that provide
- * instances of {@code DateFormat}.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class DateFormatProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected DateFormatProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code DateFormat} that formats times
-     * in the given style for the given locale.
-     *
-     * @param style the given time formatting style.
-     * @param locale the locale
-     * @return an instance of {@code DateFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract DateFormat getTimeInstance(int style, Locale locale);
-
-    /**
-     * Returns an instance of {@code DateFormat} that formats dates
-     * in the given style for the given locale.
-     *
-     * @param style the given date formatting style.
-     * @param locale the locale
-     * @return an instance of {@code DateFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract DateFormat getDateInstance(int style, Locale locale);
-
-    /**
-     * Returns an instance of {@code DateFormat} that formats dates and times
-     * in the given style for the given locale.
-     *
-     * @param dateStyle the given date formatting style.
-     * @param timeStyle the given time formatting style.
-     * @param locale the locale
-     * @return an instance of {@code DateFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale);
-}
diff --git a/luni/src/main/java/java/text/spi/DateFormatSymbolsProvider.java b/luni/src/main/java/java/text/spi/DateFormatSymbolsProvider.java
deleted file mode 100644
index cb34b71..0000000
--- a/luni/src/main/java/java/text/spi/DateFormatSymbolsProvider.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.DateFormatSymbols;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers that provide
- * instances of {@code DateFormatSymbols}.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class DateFormatSymbolsProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected DateFormatSymbolsProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code DateFormatSymbols} for the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code DateFormatSymbols}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract DateFormatSymbols getInstance(Locale locale);
-}
diff --git a/luni/src/main/java/java/text/spi/DecimalFormatSymbolsProvider.java b/luni/src/main/java/java/text/spi/DecimalFormatSymbolsProvider.java
deleted file mode 100644
index f9f5e7d..0000000
--- a/luni/src/main/java/java/text/spi/DecimalFormatSymbolsProvider.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.DecimalFormatSymbols;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers that provide
- * instances of {@code DecimalFormatSymbols}.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class DecimalFormatSymbolsProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected DecimalFormatSymbolsProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code DecimalFormatSymbols} for the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code DecimalFormatSymbols}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract DecimalFormatSymbols getInstance(Locale locale);
-
-}
diff --git a/luni/src/main/java/java/text/spi/NumberFormatProvider.java b/luni/src/main/java/java/text/spi/NumberFormatProvider.java
deleted file mode 100644
index c889f78..0000000
--- a/luni/src/main/java/java/text/spi/NumberFormatProvider.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.text.spi;
-
-import java.text.NumberFormat;
-import java.util.Locale;
-import java.util.spi.LocaleServiceProvider;
-
-/**
- * This abstract class should be extended by service providers that provide
- * {@code NumberFormat} instances.
- * <p>Note that Android does not support user-supplied locale service providers.
- * @since 1.6
- * @hide
- */
-public abstract class NumberFormatProvider extends LocaleServiceProvider {
-    /**
-     * Default constructor, for use by subclasses.
-     */
-    protected NumberFormatProvider() {
-        // Do nothing.
-    }
-
-    /**
-     * Returns an instance of {@code NumberFormat} that formats
-     * monetary values for the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code NumberFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract NumberFormat getCurrencyInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code NumberFormat} that formats
-     * integer values for the given locale. The returned {@code NumberFormat}
-     * is configured to round floating point numbers to the nearest integer
-     * using half-even rounding mode for formatting, and to parse only the
-     * integer part of an input string.
-     *
-     * @param locale the locale
-     * @return an instance of {@code NumberFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract NumberFormat getIntegerInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code NumberFormat} class for general
-     * use in the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code NumberFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract NumberFormat getNumberInstance(Locale locale);
-
-    /**
-     * Returns an instance of {@code NumberFormat} class that formats
-     * percentage values for the given locale.
-     *
-     * @param locale the locale
-     * @return an instance of {@code NumberFormat}
-     * @throws NullPointerException if {@code locale == null}
-     * @throws IllegalArgumentException
-     *             if locale isn't one of the locales returned from
-     *             getAvailableLocales().
-     */
-    public abstract NumberFormat getPercentInstance(Locale locale);
-}
diff --git a/luni/src/main/java/java/util/spi/CurrencyNameProvider.java b/luni/src/main/java/java/util/spi/CurrencyNameProvider.java
deleted file mode 100644
index d717aa2..0000000
--- a/luni/src/main/java/java/util/spi/CurrencyNameProvider.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*

- *  Licensed to the Apache Software Foundation (ASF) under one or more

- *  contributor license agreements.  See the NOTICE file distributed with

- *  this work for additional information regarding copyright ownership.

- *  The ASF licenses this file to You under the Apache License, Version 2.0

- *  (the "License"); you may not use this file except in compliance with

- *  the License.  You may obtain a copy of the License at

- *

- *     http://www.apache.org/licenses/LICENSE-2.0

- *

- *  Unless required by applicable law or agreed to in writing, software

- *  distributed under the License is distributed on an "AS IS" BASIS,

- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

- *  See the License for the specific language governing permissions and

- *  limitations under the License.

- */

-

-package java.util.spi;

-

-import java.util.Locale;

-

-/**

- * This abstract class should be extended by service providers that provide

- * localized currency symbols (currency names) from currency codes.

- * <p>Note that Android does not support user-supplied locale service providers.

- * @since 1.6

- * @hide

- */

-public abstract class CurrencyNameProvider extends LocaleServiceProvider {

-    /**

-     * Default constructor, for use by subclasses.

-     */

-    protected CurrencyNameProvider() {

-        // do nothing

-    }

-

-    /**

-     * Returns the localized currency symbol for the given currency code.

-     *

-     * @param code an ISO 4217 currency code

-     * @param locale a locale

-     * @return the symbol or null if there is no available symbol in the locale

-     * @throws NullPointerException

-     *             if {@code code == null || locale == null}

-     * @throws IllegalArgumentException

-     *             if code or locale is not in a legal format or not available

-     */

-    public abstract String getSymbol(String code, Locale locale);

-}

diff --git a/luni/src/main/java/java/util/spi/LocaleNameProvider.java b/luni/src/main/java/java/util/spi/LocaleNameProvider.java
deleted file mode 100644
index 0d25074..0000000
--- a/luni/src/main/java/java/util/spi/LocaleNameProvider.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*

- *  Licensed to the Apache Software Foundation (ASF) under one or more

- *  contributor license agreements.  See the NOTICE file distributed with

- *  this work for additional information regarding copyright ownership.

- *  The ASF licenses this file to You under the Apache License, Version 2.0

- *  (the "License"); you may not use this file except in compliance with

- *  the License.  You may obtain a copy of the License at

- *

- *     http://www.apache.org/licenses/LICENSE-2.0

- *

- *  Unless required by applicable law or agreed to in writing, software

- *  distributed under the License is distributed on an "AS IS" BASIS,

- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

- *  See the License for the specific language governing permissions and

- *  limitations under the License.

- */

-

-package java.util.spi;

-

-import java.util.Locale;

-

-/**

- * This abstract class should be extended by service providers that provide

- * localized locale names.

- * <p>Note that Android does not support user-supplied locale service providers.

- * @since 1.6

- * @hide

- */

-public abstract class LocaleNameProvider extends LocaleServiceProvider {

-    /**

-     * Default constructor, for use by subclasses.

-     */

-    protected LocaleNameProvider() {

-        // do nothing

-    }

-

-    /**

-     * Returns the localized name for the given ISO 639 language code.

-     *

-     * @param languageCode an ISO 639 language code

-     * @param locale a locale

-     * @return the name or null if unavailable

-     * @throws NullPointerException

-     *             if {@code code == null || locale == null}

-     * @throws IllegalArgumentException

-     *             if code or locale is not in a legal format or not available

-     */

-    public abstract String getDisplayLanguage(String languageCode, Locale locale);

-

-    /**

-     * Returns the localized name for the given ISO 3166 country code.

-     *

-     * @param countryCode an ISO 3166 language code

-     * @param locale a locale

-     * @return the name or null if unavailable

-     * @throws NullPointerException

-     *             if {@code code == null || locale == null}

-     * @throws IllegalArgumentException

-     *             if code or locale is not in a legal format or not available

-     */

-    public abstract String getDisplayCountry(String countryCode, Locale locale);

-

-    /**

-     * Returns the localized name for the given variant code.

-     *

-     * @param variantCode a variant code

-     * @param locale a locale

-     * @return the name or null if unavailable

-     * @throws NullPointerException

-     *             if {@code code == null || locale == null}

-     * @throws IllegalArgumentException

-     *             if code or locale is not in a legal format or not available

-     */

-    public abstract String getDisplayVariant(String variantCode, Locale locale);

-}

diff --git a/luni/src/main/java/java/util/spi/LocaleServiceProvider.java b/luni/src/main/java/java/util/spi/LocaleServiceProvider.java
deleted file mode 100644
index b1b62de..0000000
--- a/luni/src/main/java/java/util/spi/LocaleServiceProvider.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*

- *  Licensed to the Apache Software Foundation (ASF) under one or more

- *  contributor license agreements.  See the NOTICE file distributed with

- *  this work for additional information regarding copyright ownership.

- *  The ASF licenses this file to You under the Apache License, Version 2.0

- *  (the "License"); you may not use this file except in compliance with

- *  the License.  You may obtain a copy of the License at

- *

- *     http://www.apache.org/licenses/LICENSE-2.0

- *

- *  Unless required by applicable law or agreed to in writing, software

- *  distributed under the License is distributed on an "AS IS" BASIS,

- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

- *  See the License for the specific language governing permissions and

- *  limitations under the License.

- */

-

-package java.util.spi;

-

-import java.util.Locale;

-

-/**

- * The base class for all the locale related service provider interfaces (SPIs).

- * <p>Note that Android does not support user-supplied locale service providers.

- * @since 1.6

- * @hide

- */

-public abstract class LocaleServiceProvider {

-    /**

-     * Default constructor, for use by subclasses.

-     */

-    protected LocaleServiceProvider() {

-        // do nothing

-    }

-

-    /**

-     * Returns all locales for which this locale service provider has localized objects or names.

-     */

-    public abstract Locale[] getAvailableLocales();

-}

diff --git a/luni/src/main/java/java/util/spi/TimeZoneNameProvider.java b/luni/src/main/java/java/util/spi/TimeZoneNameProvider.java
deleted file mode 100644
index 533d14e..0000000
--- a/luni/src/main/java/java/util/spi/TimeZoneNameProvider.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*

- *  Licensed to the Apache Software Foundation (ASF) under one or more

- *  contributor license agreements.  See the NOTICE file distributed with

- *  this work for additional information regarding copyright ownership.

- *  The ASF licenses this file to You under the Apache License, Version 2.0

- *  (the "License"); you may not use this file except in compliance with

- *  the License.  You may obtain a copy of the License at

- *

- *     http://www.apache.org/licenses/LICENSE-2.0

- *

- *  Unless required by applicable law or agreed to in writing, software

- *  distributed under the License is distributed on an "AS IS" BASIS,

- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

- *  See the License for the specific language governing permissions and

- *  limitations under the License.

- */

-

-package java.util.spi;

-

-import java.util.Locale;

-

-/**

- * This abstract class should be extended by service providers that provide

- * localized time zone names.

- * <p>Note that Android does not support user-supplied locale service providers.

- * @since 1.6

- * @hide

- */

-public abstract class TimeZoneNameProvider extends LocaleServiceProvider {

-    /**

-     * Default constructor, for use by subclasses.

-     */

-    protected TimeZoneNameProvider() {

-        // do nothing

-    }

-

-    /**

-     * Returns the localized name for the given time zone in the given locale.

-     *

-     * @param id the time zone id

-     * @param daylight true to return the name for daylight saving time.

-     * @param style TimeZone.LONG or TimeZone.SHORT

-     * @param locale the locale

-     * @return the readable time zone name, or null if it is unavailable

-     * @throws NullPointerException

-     *             if {@code id == null || locale == null}

-     * @throws IllegalArgumentException

-     *             if locale is not available or style is invalid

-     */

-    public abstract String getDisplayName(String id, boolean daylight, int style, Locale locale);

-}

diff --git a/luni/src/main/java/org/apache/harmony/security/fortress/Services.java b/luni/src/main/java/org/apache/harmony/security/fortress/Services.java
index 4fe0d44..0e70880 100644
--- a/luni/src/main/java/org/apache/harmony/security/fortress/Services.java
+++ b/luni/src/main/java/org/apache/harmony/security/fortress/Services.java
@@ -158,7 +158,7 @@
     }
 
     /**
-     * Returns true if services contain any provider information.
+     * Returns true if services does not contain any provider information.
      */
     public static synchronized boolean isEmpty() {
         return services.isEmpty();