Community
Participate
Working Groups
// file 1 public interface I { public static final int ONE = 1; } // file 2 public class A { public void method() { short[] as = {(short)1}; switch(as[0]) { case I.ONE : break; } } } after you generate a CompilationUnit of class A, in the IProblem, one error said : Type mismatch : cannot convert from int to short
Works fine for me in 3.0 world.
Cannot reproduce either in 2.1.2. Please provide reproduceable steps and reopen.
Closing as never reproduced in a long time.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.