#51 java.util.Vector.subList

open
5
2010-06-12
2010-06-12
No

this will fail with a native exception Error: uncaught exception: MethodNotFoundException:Method java.util.Vector.subList(Number,Number) is not found!

Vector v = new Vector();
List v2 = v.subList(0,0);

I think the problem is the method signature (Number, Number) because the method exists! it seems that j2s cannot find a correct signature... very strange..

Discussion


Log in to post a comment.