Files
cappuccino/Foundation
David Richardson 1f8e75388d Fix undefined function call in CPArray range/argument exceptions
Foundation/CPException.j: _CPRaiseRangeException and _CPRaiseInvalidArgumentException called METHOD_CALL_STRING(), undefined anywhere.

Every out-of-bounds CPArray access threw an
uncatchable JS ReferenceError instead of CPRangeException/
CPInvalidArgumentException.
Fixed to call the existing _CPMethodCallString(anObject, aSelector).

Tests/Foundation/CPArrayTest.j, CPMutableArrayTest.j: the defect
was invisible because test_objectAtIndex_ and test_objectsAtIndexes_
checked only that something was thrown, not what.
Added exception-identity checks, and fixed ConcreteArray/ConcreteMutableArray's
objectAtIndex: overrides, which threw a plain string and would have
failed the new checks.
2026-08-27 21:57:37 -06:00
..
2026-07-21 15:15:53 -06:00
2026-07-21 15:15:53 -06:00
2015-04-22 11:22:44 -07:00
2010-12-26 01:34:37 +02:00
2010-12-26 01:34:37 +02:00
2010-12-26 01:34:37 +02:00
2021-08-19 10:56:13 +02:00
2026-06-16 20:20:25 +02:00
2026-03-24 21:34:39 +01:00
2010-12-26 01:34:37 +02:00
2026-08-04 18:09:27 -06:00