Fri, 10 Dec 2010 15:24:17 +0000
6199075: Unambiguous varargs method calls flagged as ambiguous
Summary: javac does not implement overload resolution w.r.t. varargs methods as described in the JLS
Reviewed-by: jjg
1 TwrFlow.java:14:11: compiler.err.except.never.thrown.in.try: java.io.IOException
2 TwrFlow.java:24:11: compiler.err.except.never.thrown.in.try: java.io.IOException
3 TwrFlow.java:12:46: compiler.err.unreported.exception.need.to.catch.or.throw: CustomCloseException
4 TwrFlow.java:22:26: compiler.err.unreported.exception.need.to.catch.or.throw: CustomCloseException
5 4 errors