http://nagoya.apache.org/bugzilla/show_bug.cgi?id=730 *** shadow/730 Sun May 20 17:21:54 2001 --- shadow/730.tmp.29239 Fri Jul 20 13:15:28 2001 *************** *** 1,19 **** ! Bug#: 730 ! Product: Xerces-J ! Version: 1.3.0 ! Platform: PC ! OS/Version: ! Status: NEW ! Resolution: ! Severity: Normal ! Priority: ! Component: Core ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: NullPointerExceptions and ArrayIndexOutOfBoundsExceptions used for normal program control ! Several methods called ensureCapacity exist in Xerces XML Parser packages. All of these seem to use ArrayIndexOutOfBoundsExceptions and NullPointerExceptions as normal program flow control, presumably to simplify the code. The example --- 1,18 ---- ! +============================================================================+ ! | NullPointerExceptions and ArrayIndexOutOfBoundsExceptions used for normal | ! +----------------------------------------------------------------------------+ ! | Bug #: 730 Product: Xerces-J | ! | Status: NEW Version: 1.3.0 | ! | Resolution: Platform: PC | ! | Severity: Normal OS/Version: All | ! | Priority: High Component: Core | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | Several methods called ensureCapacity exist in Xerces XML Parser packages. All of these seem to use ArrayIndexOutOfBoundsExceptions and NullPointerExceptions as normal program flow control, presumably to simplify the code. The example *************** *** 93,96 **** fLength[chunk] = new int[INITIAL_CHUNK_SIZE]; fCharsOffset[chunk] = new int[INITIAL_CHUNK_SIZE]; return true; ! } --- 92,95 ---- fLength[chunk] = new int[INITIAL_CHUNK_SIZE]; fCharsOffset[chunk] = new int[INITIAL_CHUNK_SIZE]; return true; ! } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
