如果想得到具體的編譯錯誤
for (Diagnostic diagnostic : diagnostics
System
diagnostic
diagnostic
diagnostic
diagnostic
被編譯的test
public class test
{
public static void main(String[] args) throws Exception
{
aa; //錯誤語句
System
}
}
在這段代碼中多寫了個aa
Code: compiler
Kind: ERROR
Position:
Start Position:
End Position:
Source: test
Message: test
Success: false
[
From:http://tw.wingwit.com/Article/program/Java/hx/201311/27243.html