|
From: <no...@so...> - 2001-08-02 00:57:39
|
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: Open Resolution: None Priority: 5 Submitted By: Bryn Keller (xoltar) Assigned to: Nobody/Anonymous (nobody) 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. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=312867&aid=447006&group_id=12867 |