Java bugs improved