Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: volatile qualified parameters in CS

...

Code Block
bgColor#ccccff
class Test {
  static volatile long i = 0;
  static void one(volatile long j) { i = j; }
  static void two() {
    System.out.println("i =" + i);
  }
}

...