Java is weird