public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
* gnu.testlet.java.io.FilterWriter.write NullPointerException
@ 2003-11-04  4:28 Andrew Bachmann
  0 siblings, 0 replies; only message in thread
From: Andrew Bachmann @ 2003-11-04  4:28 UTC (permalink / raw)
  To: mauve-discuss

Hello all,

I got the following:
FAIL: uncaught exception loading gnu.testlet.java.io.FilterWriter.write:
java.lang.NullPointerException

And looking at the code for write.java I found that it calls "this(null);" in the constructor.
According to the specs for 1.4.2 this _should_ throw a NullPointerException: http://java.sun.com/
j2se/1.4.2/docs/api/java/io/FilterWriter.html

I suppose the test should have "this(new Writer());" instead?

Andrew Bachmann


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-04  4:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-04  4:28 gnu.testlet.java.io.FilterWriter.write NullPointerException Andrew Bachmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).