Wednesday, January 7, 2009


java.lang.System#getenv method was deprecated in Java 1.4:
public static String getenv(String name) {
throw new Error("getenv no longer supported, use properties and -D instead: " + name);

I would expect this method to be disappeared in Java 5, but due to the huge number of requests, the method was re-implemented again: bug4199068
This is a little strange because if the API was deprecated, you would expect this part to be removed in the next major version. But here, we can see the community influence to the technology :)

No comments:

Disqus for Code Impossible