[jboss-jira] [JBoss JIRA] (WFCORE-4116) JDK 10: illegal reflective access by ClassReflectionIndex
Thorsten Möller (Jira)
issues at jboss.org
Wed Nov 20 05:08:00 EST 2019
[ https://issues.jboss.org/browse/WFCORE-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Möller reopened WFCORE-4116:
-------------------------------------
Using Wildfly 18.0.1 on JDK 11.0.5, I have noticed one more illegal reflective access:
{code}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/Users/thorsten/development/wildfly-18.0.1.Final/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.2.Final.jar!/) to method java.lang.Object.clone()
WARNING: Please consider reporting this to the maintainers of org.jboss.invocation.proxy.AbstractProxyFactory$1
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
{code}
Note that this access only occurs on deploying something - in my case a WAR is deployed. If the server is started such that nothing is deployed, there is no such error.
> JDK 10: illegal reflective access by ClassReflectionIndex
> ---------------------------------------------------------
>
> Key: WFCORE-4116
> URL: https://issues.jboss.org/browse/WFCORE-4116
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Affects Versions: 6.0.0.Final, 6.0.2.Final, 7.0.0.Final
> Reporter: Thorsten Möller
> Assignee: James Perkins
> Priority: Major
> Fix For: 7.0.0.Alpha5, 7.0.0.Final
>
>
> Using WF14 and Oracle JDK 10.0.2, there is an illegal reflective access warning while WF boots:
> {code}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.jboss.as.server.deployment.reflect.ClassReflectionIndex (jar:file:/Users/.../wildfly-14.0.0.Final/modules/system/layers/base/org/jboss/as/server/main/wildfly-server-6.0.1.Final.jar!/) to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of org.jboss.as.server.deployment.reflect.ClassReflectionIndex
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list