Author
Compiler bug
Geoffrey Falk
Ranch Hand
Joined: Aug 17, 2001
Posts: 171
posted Aug 03, 2005 09:50:00
0
This code should not compile:
Sun Certified Programmer for the Java 2 Platform
Christopher McCauley
Greenhorn
Joined: Jan 03, 2005
Posts: 27
agreed, Is this a question?
JCM<br />good at cookin'
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
That's a bug, all right. Both the JDK 1.4.2 and 1.5 compilers accept this code. Jikes rejects it, however, as does Eclipse's built-in compiler. You ought to report it.
[Jess in Action] [AskingGoodQuestions]
Geoffrey Falk
Ranch Hand
Joined: Aug 17, 2001
Posts: 171
posted Aug 03, 2005 11:34:00
0
I have reported it. Thanks
subject: Compiler bug