Java standard library retypings.
Artem Gr <[email protected]> Sat, 26 Mar 2005 23:08:55 +0300
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
The lack of standard library retypings is exposed from time to time. For example, recently I've found the following retypings missing: ?Throwable getCause(Throwable) = native Throwable Throwable.getCause(); ?java.io.InputStream getResourceAsStream(ClassLoader, String name) = native java.io.InputStream ClassLoader.getResourceAsStream(String); It seems practical to me to add such retypings into the standart library as soon as they are discovered (without looking what other retypings might be used for Throwable or ClassLoader). The question is, if it is okay to add them in such a way, then where should i place them? Is "java.nice" sufficient to keep random dissimilar retypings? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click