Illegal reflective access using Netty with openjdk-11 (docker + vertx 3.6.0)
See original GitHub issueHi all! I’ll open that issue, I hope you guys could fix it 😉 Tell me if you need more details. Enjoy,
Expected behavior
No warning about illegal reflective access
Actual behavior
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider (file:/opt/ig/lib/netty-resolver-dns-4.1.30.Final.jar) to method sun.net.dns.ResolverConfiguration.open()
WARNING: Please consider reporting this to the maintainers of io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider
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
Steps to reproduce
The application I used is based on vertx-web 3.6.0. When docker images starts up, the warnings are displayed.
Netty version
4.1.30.Final.jar
JVM version (e.g. java -version
)
openjdk version “11.0.2” 2019-01-15 OpenJDK Runtime Environment (build 11.0.2+9-Debian-3bpo91) OpenJDK 64-Bit Server VM (build 11.0.2+9-Debian-3bpo91, mixed mode)
OS version (e.g. uname -a
)
Linux a1c4824fa6a8 4.20.11-100.fc28.x86_64 #1 SMP Wed Feb 20 15:51:24 UTC 2019 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to fix Guice error, "An illegal reflective access operation ...
The issue is due to how Guice internally accesses Java objects, which is unsafe under the new (Java 9+) Java Module System.
Read more >log.txt
ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations ...
Read more >Changelog - Google Git
IllegalStateException : The stream has no active subscriptions smallrye-reactive-messaging-camel #3474; Health check CamelBeanBuildItem should use the check ...
Read more >[JENKINS-65582] Illegal reflective access by jenkins.slaves ...
Description. On start of a slave using openJDK jdk-11.0.9.1+1 on slaves and master I get in the ...
Read more >Comparing 38524ec3e2...34b2201a36 - netty5 - iGNUranza Git
Motivation: Jabba does not contain version 1.8 anymore Modifications: Use some java version that exists Result: Builder the docker image from scratch work ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We recently fixed another one as part of 4.1.41.Final
Still an issue with Netty 4.1.39.Final used by latest vertx.