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

Portal-compat LocaleUtil compile error against 6.1.20

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Compiling 46 source files to /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/classes
      [javac] /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/src/com/liferay/compat/portal/kernel/util/LocaleUtil.java:85: fromLanguageId(java.lang.String) in com.liferay.portal.kernel.util.LocaleUtil cannot be applied to (java.lang.String,boolean)
      [javac] return com.liferay.portal.kernel.util.LocaleUtil.fromLanguageId(
      [javac] ^
      [javac] /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/src/com/liferay/compat/portal/kernel/util/LocaleUtil.java:90: fromLanguageId(java.lang.String) in com.liferay.portal.kernel.util.LocaleUtil cannot be applied to (java.lang.String,boolean)
      [javac] return com.liferay.portal.kernel.util.LocaleUtil.fromLanguageId(
      [javac] ^
      [javac] /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/src/com/liferay/compat/portal/kernel/util/LocaleUtil.java:105: fromLanguageId(java.lang.String) in com.liferay.portal.kernel.util.LocaleUtil cannot be applied to (java.lang.String,boolean)
      [javac] return com.liferay.portal.kernel.util.LocaleUtil.fromLanguageId(
      [javac] ^
      [javac] /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/src/com/liferay/compat/portal/kernel/util/LocaleUtil.java:135: cannot find symbol
      [javac] symbol : method getLongDisplayName(java.util.Locale,java.util.Set<java.lang.String>)
      [javac] location: class com.liferay.portal.kernel.util.LocaleUtil
      [javac] return com.liferay.portal.kernel.util.LocaleUtil.getLongDisplayName(
      [javac] ^
      [javac] /mnt/jenkins/root/workspace/liferay-plugins-ee-6.1.20-knowledge-base-portlet-build/workspace/liferay-plugins-sdk/shared/portal-compat-shared/src/com/liferay/compat/portal/kernel/util/LocaleUtil.java:147: cannot find symbol
      [javac] symbol : method getShortDisplayName(java.util.Locale,java.util.Set<java.lang.String>)
      [javac] location: class com.liferay.portal.kernel.util.LocaleUtil
      [javac] return com.liferay.portal.kernel.util.LocaleUtil.getShortDisplayName(
      [javac] ^

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 14 weeks, 3 days ago

                  Packages

                  Version Package