NoVisibility { public static void main(String[] args) { new ReaderThread().start(); number = 42; ready = true; }  static void main(String[] args);  }
@Test(timeout = 2000) public void testMain() { Thread[] threads = new Thread[100]; for (int k = 0; k < threads.length; k++) threads[k] = new ReaderThread(); for (int k = 0; k < threads.length; k++) threads[k].start(); number = 42; ready = true; }