Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66772

Locale.toLanguageTag() used in backport of LPS-64047 to ee-6.2.x does not exist in Java 6

    Details

      Description

      Method used in backport of LPS-64047 to ee-6.2.x does not exist in Java 6.

      Ticket: https://issues.liferay.com/browse/LPS-64047
      BPR: https://issues.liferay.com/browse/BPR-5446
      Pull request: https://github.com/LeventeHudak/liferay-portal-ee/pull/8

      Local#toLanguageTag() was added in Java 7, but we need to be compatible with Java 6 on EE 6.2.

        Attachments

        1. fix.PNG
          fix.PNG
          28 kB
        2. reproduce.PNG
          reproduce.PNG
          17 kB

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              dustin.ryerson Dustin Ryerson (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 19 weeks ago

                  Packages

                  Version Package
                  6.2.X EE