Community
Participate
Working Groups
class Outer { public class Inner {} } public class Bug { public void varargs(Object... varargs) {} public void test() { Outer.Inner inner = new Outer().new Inner(); varargs(inner); // works varargs(new Outer().new Inner()); // crashes } }
for M4
This is fixed with the latest builds of the compiler (and quite probably in M3 too).