コンパイル結果の違うソース 上記のソースをJDK6のjavac、JDK7のJavacでそれぞれコンパイルすると、結果が違うことがわかる。 JDK6 D:\dev\Java>javac.exe CompileResultDiffTest.java D:\dev\Java>JDK7 D:\dev\Java>javac.exe CompileResultDiffTest.java CompileResultDiffTest.java:6: エラー: testの参照はあいまいです。Compil eResultDiffTestのメソッド test(int,Object...)とCompileResultDiffTestのメソッド test(Object...)が両方適合します test(0, "a"); ^ エラー1個 D:\dev\Java>同じクラスの可変長引数をもつメソッドをオーバーロードして