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

Currency.getInstance(Locale) API doc is incorrect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b86
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: