AutoBoxing working? Follow
Do I have to turn Autoboxing on?
Idea says this code has errors at the underlined areas:
= j) = " + (_i >= j_)); System.out.println("(i <= j) = " + (_i <= j_)); System.out.println("(i == j) = " + (i == j));]]>
It compiles and runs fine using JDK 5.0 beta 3
(i >= j) = true
(i <= j) = true
(i == j) = false
Why is Idea flagging this as an error?
I am doing something wrong or should I submit an SCR?
Please sign in to leave a comment.
Go to Project Settings | Paths, set the "Language Level" dropdown at the bottom to "1.5" and restart IDEA. It should work fine after that.