-
Type:
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: Environments > Java Runtime
-
Labels:
-
Fix Priority:3
-
JDK:Oracle OpenJDK 11
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
- relates
-
LPS-88685 Add --add-opens to JUnit JVM args to avoid illegal reflective access warning
-
- Closed
-