r871793 | markphip | 2008-06-13 00:06:34 +0000 (Fri, 13 Jun 2008)
JavaHL: Fix potential ArrayIndexOutOfBoundsException in
singleStatus method. Happens when method is called on
a non-existent path within the working copy.
[ in subversion/bindings/javahl/ ]
* tests/org/tigris/subversion/javahl/BasicTests.java
(testBasicStatus): Added test for non-existent file.
* src/org/tigris/subversion/javahl/SVNClient.java
(singleStatus): Check array length before referencing
an element from the array.
Found by: Tomas Stupka <Tomas.Stupka@sun.com>