|
From: | Archie Cobbs |
Subject: | Re: [cp-patches] [Patch] javax.swing.JTextArea: Suggesting to revert. |
Date: | Thu, 28 Apr 2005 13:40:13 -0500 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Meskauskas Audrius wrote:
- // This cannot happen as we check offset above. - throw new Error("Please report a bug", e); + // This cannot happen as we check offset above.In this world, it is very difficult to say that something really cannot neverhappen. The history of Titanic (that cannot sink) or, more recently, the Columbia shuttle (no need to inspect the reliable themal isolation), indicates that errors do happen, regardless if we are sure on something or not.
What about assert? Can we use assert in Classpath code yet? -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |