This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: System.out.println("foo" + s != null ? s : ""); precedence



Alexandre Petit-Bianco writes:

> It's wrong with 3.0 too. 

And guess what. It's wrong with Sun's JDK1.1.2 and JDK1.1.8. An old
version of jikes I found also behaves the same way. I guess the bug is
in Sun's grammar specification. I wonder if it's stil there with in
Sun's 1.3...

./A


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]