question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Illegal reflective access using Netty with openjdk-11 (docker + vertx 3.6.0)

See original GitHub issue

Hi 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
normanmaurercommented, Sep 22, 2019

We recently fixed another one as part of 4.1.41.Final

Am 22.09.2019 um 02:18 schrieb Vitaly Kravchenko notifications@github.com:

Still an issue with Netty 4.1.39.Final used by latest vertx.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
yaycommented, Sep 22, 2019

Still an issue with Netty 4.1.39.Final used by latest vertx.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found