However, under 1.4.1-b21 anyway, this code compiles and runs just fine. [ September 18, 2003: Message edited by: Steve Lovelace ]
The Inner that is named is not the true Inner.
posted 13 years ago
Hi Steve, You are right, the code runs under 1.4.1-b21. But the thing is that the only authoritative document you should count on is the Java specification and not the different Java implementations. JLS 14.20 Unreachable statements says that the code in question 38 should not compile. I hope this helps