On 8u65/8u66, the attached Test class shows javac displaying an error but not displaying line numbers associated with the error. example output : $/java/re/jdk/9/promoted/all/b94/binaries/solaris-sparcv9/bin/javac Test.java error: incompatible types: possible lossy conversion from long to int Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error Would like the javac compiler to include a line number when it displays this error.
|