Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
bgColor#FFCCCC
/** This class is not thread-safe! */
public final class CountHits {
  private static int counter;

  public void incrementCounter() {
    counter++;
  }
}

...