corda/classpath/java
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
..
io Fix missing flush in PrintStream 2010-09-05 09:07:18 -06:00
lang add error classes 2010-08-16 09:23:48 -06:00
net switch from gethostbyname to getaddrinfo on POSIX systems 2010-06-14 16:09:56 -06:00
nio add java.nio.channels.Channels implementation 2010-07-13 18:03:25 -06:00
security add AccessControlException 2009-08-24 16:40:25 -06:00
text prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
util handle empty strings properly in Pattern.split 2010-09-06 11:16:27 -06:00