[JBoss JIRA] (WFLY-11717) Illegal reflective access - org.jboss.invocation.proxy.AbstractProxyFactory
by Kris-Gerhard Aabrams (Jira)
[ https://issues.jboss.org/browse/WFLY-11717?page=com.atlassian.jira.plugin... ]
Kris-Gerhard Aabrams commented on WFLY-11717:
---------------------------------------------
[~brian.stansberry] I'm seeing this during the deployment of my war and just after `WFLYEJB0473: JNDI bindings for session bean named` messages.
I'm happy to provide you any additional information you need.
> Illegal reflective access - org.jboss.invocation.proxy.AbstractProxyFactory
> ---------------------------------------------------------------------------
>
> Key: WFLY-11717
> URL: https://issues.jboss.org/browse/WFLY-11717
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 15.0.1.Final
> Reporter: Kris-Gerhard Aabrams
> Assignee: Brian Stansberry
> Priority: Major
> Labels: Java11
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/opt/jboss/wildfly/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.1.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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months
[JBoss JIRA] (WFLY-11784) App classloader leaked by IIOP WorkCacheManager cache
by Tomasz Adamski (Jira)
Tomasz Adamski created WFLY-11784:
-------------------------------------
Summary: App classloader leaked by IIOP WorkCacheManager cache
Key: WFLY-11784
URL: https://issues.jboss.org/browse/WFLY-11784
Project: WildFly
Issue Type: Bug
Components: IIOP
Affects Versions: 16.0.0.Beta1
Reporter: Tomasz Adamski
Assignee: Tomasz Adamski
Fix For: 17.0.0.Beta1
After redeploys, application ear module classloaders are left in org.wildfly.iiop.openjdk.rmi.WorkCacheManager's classesByLoader map:
{code}
com.sun.corba.se.impl.transport.SelectorImpl @ 0xc12234b8 SelectorThread Thread
'- contextClassLoader org.jboss.modules.ModuleClassLoader @ 0xc075bea0
'- classes java.util.Vector @ 0xc075c4a8
'- elementData java.lang.Object[160] @ 0xc1afb200
'- [58] class org.wildfly.iiop.openjdk.rmi.ValueAnalysis @ 0xc180e4b0 |
'- cache org.wildfly.iiop.openjdk.rmi.WorkCacheManager @ 0xc180e520
|- classesByLoader java.util.HashMap @ 0xc180e730
| '- table java.util.HashMap$Node[16] @ 0xc1ba2ff8
| |- [14] java.util.HashMap$Node @ 0xc37b01e0
| | '- key org.jboss.modules.ModuleClassLoader @ 0xc3677958
{code}
This was previously a weak map, but we switched to strong caching with explicit clean up on undeploy. It looks like that clean up is missed in some case.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 2 months