java-threads old and new check in