Menu

#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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.