You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Thomas Matthijs <li...@selckin.be> on 2021/09/14 19:41:55 UTC

Java 17 & cxf 3.4.x

Hello,

Since today java 17 was released, i was wondering if anyone has
experience if latest cxf is compatible?

I'm currently still on java 11 and get the warning

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1
(file:/home/selckin/.m2/repository/cglib/cglib-nodep/3.3.0/cglib-nodep-3.3.0.jar)
to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
net.sf.cglib.core.ReflectUtils$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

From CglibProxyHelper, most projects are moving away from cglib since
its not being updated, and are moving to bytebuddy, should this also
be done for cxf? I could maybe give it a try.
Is it correct that is mainly a performance optimization over the
fallback ProxyHelper ?

Any other known issues with java 17 ?

Thanks