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

Return value from getAdapterPrefence() can be modified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • core-libs
    • b82
    • generic
    • generic

    Description

      LocaleProviderAdapter.getAdapterPreference() returns the preferred provider array which can be modified by the caller. Need to return a defensive copy of it.

      Attachments

        Activity

          People

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: