gpt4 book ai didi

java - 如何抑制 sun.reflect.Reflection 的专有 API 警告?

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:20:44 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Cannot stop ant from generating compiler warnings

如何抑制这个警告:

sun.reflect.Reflection is Sun proprietary API and may be removed in a future release

使用 @SuppressWarnings在 Oracles javac (1.6) 中?

根据 this blog使用 "all" 应该有效,但实际上无效。有人知道正确的字符串吗?

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com