Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8075315

Currency.getInstance(Locale) API doc is incorrect

    XMLWordPrintable

Details

    • b86
    • generic
    • generic

    Backports

      Description

        The API doc of Currency.getInstance(Locale) specifies NullPointerException to be thrown if locale's country is null. However, Locale.getCountry() never returns null.

            NullPointerException - if locale or its country code is null

        should be

            NullPointerException - if locale is null

        Attachments

          Issue Links

            Activity

              People

                rgoel Rachna Goel (Inactive)
                okutsu Masayoshi Okutsu
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: