java is so strange