Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
This was reported to NetBeans as bug: http://netbeans.org/bugzilla/show_bug.cgi?id=198366 The problem is as follows. Consider code like this: --------------------- public class Test { public static void t() { Exception ex = null; error("error", ex); //ambiguous error here } public static void error(Object object, Object... params) { } public static void error(Object object, Throwable t, Object... params) { } }
|