|
From: | David Daney |
Subject: | Re: Patch: merge File.toURI() from Classpath |
Date: | Tue, 06 Jul 2004 10:47:16 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030 |
Bryce McKinlay wrote: > David Daney wrote: > > >>>We can't add constructors to InternalError, as that would violate the spec. >>> >>> >>> >> >>Which spec. would that be? I am unfamiliar with it. >> > > > The Java 2(TM) Platform API specification[1] > > [1] http://java.sun.com/j2se/1.4.2/docs/api/ > Does it say somewhere that we cannot add public methods while maintaining compatibility with Sun's implementation? It doesn't seem like a good idea to use an unsuitable exception type just because its API has a slightly more elegant constructor. David Daney.
[Prev in Thread] | Current Thread | [Next in Thread] |