I'd like to know whether there is a general policy when it comes to links to external resources that are essential for the credibility of the answer.
For example, answers in the style of
ArrayList
had an initial default capacity of 10 in Java 6, as can be seen here, but has a default capacity of 0 in Java 7, as can be seen here.
When these links die, the answer may still be considered as being helpful, but the references are important in order to verify that the answer is actually correct. Simply copying the relevant code snippets from these classes would not help to assert any provenance in this regard (and might raise copyright issues in the worst case)
Should one rather omit links like these, and leave the statement as it is, relying on the upvotes as an indication for the correctness of the answer?
If not: Are there any "preferred" sites to link to for these cases? Particularly, can grepcode or docjar be considered to be durable enough to be worth being linked to from stackoverflow? Or should one prefer links to the OpenJDK repositories? (And probably even edit existing answers with such links accordingly?)