The question the optimizer can't really answer is: will Random.nextInt() ever return 10? If that's a 64 bit integer it could be a LOOOOOONG time before 10 ever shows up.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: