SE547: Information flow [3/23] Previous pageContentsNext page

Note that Java protection doesn't help!

  class Example {
    private int xH;
    public int yL;
    public void leak () {
      yL = xH; // Write down is OK according to Java.
    }
  }

Java doesn't stop values escaping from their static protection.

Previous pageContentsNext page