For the same code, Eclipse shows warnings about unused variables, but compiling with “javac” (v1.6) does not. Does Eclipse use a different compiler or parser? How can I get javac to show the same warnings?
For the same code, Eclipse shows warnings about unused variables, but compiling with javac
Share
Quote from JDT core (Eclipse’s editor infrastructure)
It is the incremental Java compiler that shows the warning.
There are no ways to enable that warning in Sun/Oracle
javac