You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Greg Huber <gr...@gmail.com> on 2022/11/09 08:39:32 UTC

WARNING: Illegal reflective access

Hello,

I see this in my compile on java 11.


WARNING: An illegal reflective access operation has occurred WARNING: 
Illegal reflective access by 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl 
(file:~.m2/repository/org/apache/velocity/velocity-engine-core/2.3/velocity-engine-core-2.3.jar) 
to method com.sun.tools.javac.code.Symbol$MethodSymbol.getReturnType() 
WARNING: Please consider reporting this to the maintainers of 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl 
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.

I guess this is already known?


Cheers Greg




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: WARNING: Illegal reflective access

Posted by Michael Osipov <mi...@apache.org>.
Am 2022-11-09 um 09:39 schrieb Greg Huber:
> Hello,
> 
> I see this in my compile on java 11.
> 
> 
> WARNING: An illegal reflective access operation has occurred WARNING: 
> Illegal reflective access by 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl 
> (file:~.m2/repository/org/apache/velocity/velocity-engine-core/2.3/velocity-engine-core-2.3.jar) to method com.sun.tools.javac.code.Symbol$MethodSymbol.getReturnType() WARNING: Please consider reporting this to the maintainers of org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl 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.
> 
> I guess this is already known?

Please check JIRA and report with a reproducer.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org