#182: ADJUST-ARRAY failure --------------------------------------------+------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: new Priority: major | Milestone: unscheduled Component: other | Version: 1.0 Keywords: adjust-array, ansi conformance | --------------------------------------------+-------------------------------
Comment(by ehuelsmann):
The solution to the problem is in BasicVector_UnsignedByte8.java:290-292, which should be:
{{{ byte[] newElements = new byte[newCapacity]; System.arraycopy(elements, 0, newElements, 0, Math.min(capacity, newCapacity)); }}}
Note that this change alone doesn't compile, because it breaks line 295.