...
Wiki Markup |
---|
According to Joshua BlockBloch \[[Bloch 2008|AA. Java References#Bloch 08]\] |
...
Documented design intent is irrelevant when dealing with untrusted code because an attacker can always chose choose to ignore the documentation.
...
Code Block | ||
---|---|---|
| ||
/** This class is not thread-safe! */
public final class CountHits {
private static int counter;
public void incrementCounter() {
counter++;
}
}
|
...