Hi, That’s due to JDK 11 that you are using.
You can add the "opens" in bin/karaf to avoid this warning (it’s just a warning so no impact at runtime). I can add the --add-opens by default in bin/karaf. Regards JB > Le 28 sept. 2020 à 21:31, Gerald Kallas <[email protected]> a écrit : > > Dear all, > > I installed on a vanilla Karaf 4.2.9 the pax-http-undertow feature with > > feature:install pax-http-undertow > > and get a warning like > > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 > (jar:bundle://126.0:0/!/) to constructor sun.nio.ch.EPollSelectorProvider() > WARNING: Please consider reporting this to the maintainers of > org.xnio.nio.NioXnio$2 > 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 > > Any suggestion? > > Best > Gerald
