FYI: java.io.Writer fixlet from GNU Classpath

Andrew Haley aph@redhat.com
Mon May 17 12:45:00 GMT 2004


Mark Wielaard writes:

 > The following fixlet from GNU Classpath fixes two Mauve tests.
 > 
 > 2004-05-16  Mark Wielaard  <mark@klomp.org>
 > 
 >        * java/io/Writer.java (Writer(Object)): Check for null lock object.

I'm wondering what the justification for the Mauve test is.

The old Java spec (2nd ed, paper copy) says that "lock" must be
non-null, but the current online spec says just "lock - Object to
synchronize on."

Andrew.



More information about the Java-patches mailing list