[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #8860] new java.io.FilterWriter(null) should throw NullPointerExce
From: |
Mark Wielaard |
Subject: |
[bugs #8860] new java.io.FilterWriter(null) should throw NullPointerException |
Date: |
Sun, 16 May 2004 05:28:17 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Galeon/1.3.14 (Debian package 1.3.14a-1) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #8860] Latest Modifications:
Changes by:
Mark Wielaard <address@hidden>
'Date:
Sun 05/16/04 at 09:27 (Europe/Amsterdam)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Assigned to | None | mark
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
This seems to be because creating a Writer with a null lock object should throw
a NullPointerException (since the FilterWriter out object will be used as
lock). I added an extra mauve test for this and the follow fix in CVS.
2004-05-14 Mark Wielaard <address@hidden>
* java/io/Writer.java (Writer(Object)): Check for null lock object.
This fixes both tests.
Thanks,
Mark
/**************************************************************************/
[bugs #8860] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8860>
Project: classpath
Submitted by: Stephen Crawley
On: Mon 05/10/04 at 16:07
Severity: 5 - Average
Resolution: Fixed
Assigned to: mark
Status: Closed
Platform Version: None
Summary: new java.io.FilterWriter(null) should throw NullPointerException
Original Submission: The JDK 1.4.2 API spec states that the contructor
throws NullPointerException if the parameter is null.
Classpath's javadoc doesn't say this, and it doesn't
throw the exception either.
I've modified the following Mauve testcase to cover this:
gnu/testlet/java/io/FilterWriter/write.java
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sun 05/16/04 at 09:27 By: mark
This seems to be because creating a Writer with a null lock object should throw
a NullPointerException (since the FilterWriter out object will be used as
lock). I added an extra mauve test for this and the follow fix in CVS.
2004-05-14 Mark Wielaard <address@hidden>
* java/io/Writer.java (Writer(Object)): Check for null lock object.
This fixes both tests.
Thanks,
Mark
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8860>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/