corda/classpath
Joel Dice 250a77dc13 handle empty strings properly in Pattern.split
We were incorrectly returning an empty array when the input was empty,
whereas we ought to return an array containing a single empty string.
When the pattern to match was empty, we went into a loop to create an
infinite list of empty strings, only to crash once we've run out of
memory.  This commit addresses both problems.
2010-09-06 11:16:27 -06:00
..
avian fix corruption of old revisioins in PersistentSet 2010-07-30 12:23:41 -06:00
java handle empty strings properly in Pattern.split 2010-09-06 11:16:27 -06:00
java-io.cpp add ability to append to files 2010-08-16 09:23:48 -06:00
java-lang.cpp replace calls to ExceptionOccurred with calls to ExceptionCheck 2009-12-16 19:25:03 -07:00
java-net.cpp fix non-windows java-net.cpp build 2010-07-02 09:36:55 -06:00
java-nio.cpp switch from gethostbyname to getaddrinfo on POSIX systems 2010-06-14 16:09:56 -06:00
java-util-zip.cpp throw OutOfMemoryError if malloc returns null pointer 2009-12-05 15:51:12 -07:00
java-util.cpp update copyright years 2009-12-02 19:08:29 -07:00
jni-util.h update copyright years 2009-12-02 19:08:29 -07:00