corda/classpath/java/util
Joel Dice f0f35a920f return a useful value from InflaterInputStream.available
Note the following excerpt from PNGFileFormat.java in SWT:

     /*
     * InflaterInputStream does not consume all bytes in the stream
     * when it is closed. This may leave unread IDAT chunks. The fix
     * is to read all available bytes before closing it.
     */
     while (stream.available() > 0) stream.read();
     stream.close();

This code relies on the documented behavior of
InflaterInputStream.available, which must return "0 after EOF has been
reached, otherwise always return 1".  This is unlike
InputStream.available, which is documented to return "the number of
bytes that can be read (or skipped over) from this input stream
without blocking by the next caller of a method for this input
stream", and says nothing about how many bytes are left until the end
of stream.

This commit modifies InflaterInputStream.available to behave according
to Sun's documentation.
2010-08-04 18:54:47 -06:00
..
concurrent more work on continuation support 2009-05-05 18:29:05 -06:00
logging tolerate null caller in Logger.log 2009-04-25 20:14:29 -06:00
regex implement enough of java.util.regex to ensure String methods work for trivial regular expressions 2009-08-20 11:14:05 -06:00
zip return a useful value from InflaterInputStream.available 2010-08-04 18:54:47 -06:00
AbstractCollection.java update copyright years 2009-12-02 19:08:29 -07:00
AbstractList.java add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List 2009-08-04 17:24:29 -06:00
AbstractSequentialList.java add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List 2009-08-04 17:24:29 -06:00
AbstractSet.java add a few classes and methods to the classpath 2008-07-03 09:16:32 -06:00
ArrayList.java update copyright years 2009-12-02 19:08:29 -07:00
Arrays.java update copyright years 2009-12-02 19:08:29 -07:00
BitSet.java update copyright years 2009-03-15 12:02:36 -06:00
Calendar.java update copyright years 2009-03-15 12:02:36 -06:00
Collection.java update copyright years 2009-12-02 19:08:29 -07:00
Collections.java add java.util.Collection.toArray() 2009-08-04 17:36:25 -06:00
Comparator.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Date.java implement Date.toString, which just defers to ctime for now (part 2) 2008-06-16 11:45:23 -06:00
Enumeration.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
EventListener.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
EventObject.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Formatter.java add classes which I meant to add in earlier commits 2009-08-14 08:51:10 -06:00
HashMap.java update copyright years 2009-12-02 19:08:29 -07:00
HashSet.java update copyright years 2009-12-02 19:08:29 -07:00
Hashtable.java update copyright years 2009-12-02 19:08:29 -07:00
IdentityHashMap.java update copyright years 2009-12-02 19:08:29 -07:00
Iterator.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
LinkedList.java update copyright years 2009-12-02 19:08:29 -07:00
List.java update copyright years 2009-12-02 19:08:29 -07:00
ListIterator.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Locale.java set default locale to en, us 2008-10-09 18:30:24 -06:00
Map.java update copyright years 2009-12-02 19:08:29 -07:00
MissingResourceException.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
NoSuchElementException.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Properties.java update copyright years 2009-12-02 19:08:29 -07:00
PropertyResourceBundle.java implement ResourceBundle.getKeys 2008-11-03 15:18:44 -07:00
Random.java implement Random.nextBytes and Random.nextLong 2008-09-26 15:30:08 -06:00
ResourceBundle.java implement ResourceBundle.getKeys 2008-11-03 15:18:44 -07:00
Set.java implement a few more classpath methods, including Collection.addAll and Collection.toArray 2008-02-28 11:37:10 -07:00
Stack.java fix backwards logic in Stack.empty 2008-09-26 08:10:16 -06:00
StringTokenizer.java prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
TreeMap.java add java.util.Collection.toArray() 2009-08-04 17:36:25 -06:00
TreeSet.java Merge branch 'master' into gnu 2009-07-25 18:38:57 -06:00
Vector.java update copyright years 2009-12-02 19:08:29 -07:00
WeakHashMap.java update copyright years 2009-12-02 19:08:29 -07:00