Patch: merge File.toURI() from Classpath
David Daney
ddaney@avtrex.com
Tue Jul 6 17:50:00 GMT 2004
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.
More information about the Java-patches
mailing list