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

    • 3
    • 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

              dante.wang Dante Wang
              koor.gai Koor Gai (Inactive)
              Peter Nyiro Peter Nyiro
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                1 year, 46 weeks, 5 days ago

                Packages

                  Version Package