classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] [Patch] javax.swing.JTextArea: Suggesting to revert.


From: Michael Koch
Subject: Re: [cp-patches] [Patch] javax.swing.JTextArea: Suggesting to revert.
Date: Thu, 28 Apr 2005 22:01:30 +0200
User-agent: mutt-ng 1.5.9-r265i (Debian)

On Thu, Apr 28, 2005 at 01:40:13PM -0500, Archie Cobbs wrote:
> 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 never
> >happen. 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?

No, we cant yet.


Michael.
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]