Description
This issue was originally filed by [email protected]
In List tests, there are several references to a method that is not a part of the interface for list:
try {
List a = new List(4);
a.copyFrom(a, null, 1, 1);
} catch (IllegalArgumentException e) {
exception_caught = true;
}
There is an a.setRange() which calls copyFrom.
Now this is perfectly legal, but since it isn't a part of the interface it could change. Also, since the behavior of copyFrom isn't a part o
I would like to annotate this file for static analysis, but use of this method makes it kind of ugly to annotate.
I think the test would be better if it were changed. FYI, we already have a more straightforward test 'FieldDynamicTest' that shows you can reference an undeclared field.