Community
Participate
Working Groups
In the following snippet, Eclipse will flag a warning for both invocations of "a", each suggesting the other as the correct. ********* import java.lang.annotation.RetentionPolicy; public class BorkedWarning { void a(Enum<?>...enums) {} void b () { RetentionPolicy[] t = null; a(t); a((Enum<?>[])t); } }
This is fixed in HEAD (3.3). Fix was made available for 3.3M3. Added VarargsTest#test057 *** This bug has been marked as a duplicate of 159607 ***