如何避免“由于引导程序类路径已被附加,所以仅对引导加载程序类支持共享".Java 11调试期间发出警告? [英] How to avoid "Sharing is only supported for boot loader classes because bootstrap classpath has been appended" warning during debug with Java 11?

查看:68
本文介绍了如何避免“由于引导程序类路径已被附加,所以仅对引导加载程序类支持共享".Java 11调试期间发出警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我切换到Java 11并开始调试我的应用程序并看到以下消息:

OpenJDK 64位服务器VM警告:共享仅在引导时受支持加载程序类,因为已附加了引导程序类路径

仅找到

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?

解决方案

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!

这篇关于如何避免“由于引导程序类路径已被附加,所以仅对引导加载程序类支持共享".Java 11调试期间发出警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆