我只是希望现在打印出错误,而不是其他任何内容。谢谢 :)
你有没有尝试过
<javac .... nowarn="on">
请注意,这does not disable all kinds of warnings。