Details
-
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Master
-
None
-
3
-
Oracle OpenJDK 11
Description
Steps to reproduce:
- 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
- relates
-
LPS-88685 Add --add-opens to JUnit JVM args to avoid illegal reflective access warning
-
- Closed
-