Community
Participate
Working Groups
Inconsistent classfile encountered: The undefined type parameter E is referenced from within Enum ( the error is at line 1 ) code : import java.util.concurrent.TimeUnit; public class Test { public static void main(String[] args) { System.out.println("0s = " + TimeUnit.MILLISECONDS.convert(0L, TimeUnit.SECONDS) + "ms"); } } I use jdk 1.5 beta 2 , i have setup the compliance level of the compiler to 1.5 ( if i don't i connot use Vector<???> , but i don t get the bug ...) default compliance setting ( 1.5 / 1.5 / error) is there a problem in my code or its with cheeta ?? simplier code : import java.util.concurrent.TimeUnit; public class Test { public static void main(String[] args) { TimeUnit.MILLISECONDS.convert(0L, TimeUnit.SECONDS); } } same error
Cannot reproduce any longer in latest. These inconsistencies were resolved a while ago (you have to use a recent 3.1 integration build).