struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasserzam...@apache.org>
Subject RE: S2.5.20 Illegal reflective access by ognl.OgnlRuntime
Date Tue, 29 Jan 2019 09:29:54 GMT
Hi Lukasz,

Just FYI I personally feel it's not related to static accesses - It seems Java 11 warns such
accesses and next Java release won't allow such accesses anymore i.e. current ognl won't work
on them anymore.

Regards.

>-----Original Message-----
>From: Lukasz Lenart <lukaszlenart@apache.org>
>Sent: Friday, January 25, 2019 3:14 PM
>To: Struts Users Mailing List <user@struts.apache.org>
>Subject: Re: S2.5.20 Illegal reflective access by ognl.OgnlRuntime
>
>Hi Burton,
>
>This probably is related to
>https://issues.apache.org/jira/browse/WW-5004
>https://issues.apache.org/jira/browse/WW-5006
>
>and you can downgrade OGNL version to 3.1.18 or wait for 2.5.21 (should be
>ready soon)
>
>
>Regards
>--
>Łukasz
>+ 48 606 323 122 http://www.lenart.org.pl/
>
>pt., 25 sty 2019 o 12:41 Burton Rhodes <burtonrhodes@gmail.com> napisał(a):
>>
>> After upgrading my application to JDK 11 and S2.5.20 I am receiving the
>> following warning.  Curious if there is a bug or if my resolved version of
>> ognl should be corrected in my pom.xml file
>>
>> WARNING: An illegal reflective access operation has occurred
>> WARNING: Illegal reflective access by ognl.OgnlRuntime
>> (file:/D:/m2/repository/ognl/ognl/3.1.21/ognl-3.1.21.jar) to method
>> java.util.TreeMap$Entry.getKey()
>> WARNING: Please consider reporting this to the maintainers of
>> ognl.OgnlRuntime
>> 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
>>
>> Thanks!
>> Burton
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
View raw message