class SatIssue106 {
  static int nextID = 0;
  int id;

  public SatIssue106() {
    id = nextID++;
  }

  public static void main(String args[]) {
    SatIssue106 obj = new SatIssue106();
  }
}

Test for issue 106