Java is stupid