The Java compiler does not allow statically compiled infinite loops. It is complaining that the statement after the Loop statement can never be executed. You can fool it like this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.