I still see API links to older versions of Java, even when there's nothing relevant about that specific version. I realize that Google often links to 1.4.2 for some reason, but shouldn't we require stackoverflow users to take the time to link to the latest version of Java unless an older version is specifically being discussed?
I don't think you should require people to answer with updated links. It's their answer, not yours. If you don't like it, either downvote it, comlain about it in a comment, or write an answer with the "right" link.
There are a sizable number of API calls that haven't changed since 1.4.2 so they may still be relevant.
People link to old versions of the API, because that's what a Google search brings up:
Pretty much all class name searches that were available before Java 5 will bring back the 1.4.2 docs I've found.
The main reason is the search
Results in version 5, but
Results in version 6.
Since they are virtually identical, it really doesn't matter. Unless people are linking to the docs to point out a feature only available in 6, the version they link to shouldn't matter a whole lot.
If there has been a subtle change since 1.4.2, it could confuse someone who doesn't realize they're looking at old documentation. But it's fairly easy to get the right version. Just type, say, "java arraylist" directly into the address bar (at least in Firefox, the way I have it set up, and probably in most browsers) and you end up at the old docs. Then change the
1.4.2 in the URL to
6 and you get the new ones.
For people with enough rep to do so, I think it's appropriate for them to change the links. I certainly wouldn't mind if someone did that to a post of mine. It might also help to popularize Java Doc Fast.