because java is dumb