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

PACL - FilesTest fails on systems where the environment variable JAVA_HOME is not available to the java process

    Details

      Description

      This is because we're using a potentially missing value when evaluating the value of ${java.home}

      The Java Spec [1] guarantees the system property java.home will be set. But there is no guarantee that the environment variable JAVA_HOME will be.

      [1] http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 29 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 M1