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

Illegal warning when starting portal instance on jdk11

    Details

    • Fix Priority:
      3
    • JDK:
      Oracle OpenJDK 11

      Description

      Steps to reproduce:

      1. Start portal instance on tomcat using jdk11

      Expected result:
      No illegal warning.
      Actual result:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by com.liferay.petra.reflect.ReflectionUtil (file:/Users/malei/dev/project/bundles/master-bundles/tomcat-9.0.10/lib/ext/com.liferay.petra.reflect.jar) to field java.lang.reflect.Field.modifiers
      WARNING: Please consider reporting this to the maintainers of com.liferay.petra.reflect.ReflectionUtil
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  1 year ago

                  Packages

                  Version Package