|
From: <no...@so...> - 2001-08-05 13:44:36
|
Patches item #447006, was opened at 2001-08-01 17:57 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=312867&aid=447006&group_id=12867 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Bryn Keller (xoltar) >Assigned to: Finn Bock (bckfnn) Summary: Fix NPE in PyString constructor Initial Comment: PyString currently doesn't check that the passed-in String is non-null, so you only find out later when you try to use the PyString for something (__len__, for instance). This patch handles the problem by throwing an IllegalArgumentException when the null is passed. Another option might be to silently convert the null to an empty String. ---------------------------------------------------------------------- >Comment By: Finn Bock (bckfnn) Date: 2001-08-05 06:44 Message: Logged In: YES user_id=4201 Fixed in PyString.java: 2.47; ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=312867&aid=447006&group_id=12867 |