How to avoid "Sharing is only supported for boot loader classes because bootstrap classpath has been appended" warning during debug with Java 11?

Dmitriy Dumanskiy :

Recently I switched to the Java 11 and start to debug my app and saw this message:

OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

Found only this commit and ticket, but it doesn't tell me much.

Do I need to worry about it?

Dave :

I had this issue too after installing jdk-12.0.1_windows-x64_bin.zip when trying to use the debugger with IntelliJ IDEA. I was getting an error of (Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended). I found, too, going into Setting and search for async and unchecking the Instrumenting agent box. Worked for me! ASYNC settings

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=35048&siteId=1