javac: No line numbers in compilation error

XMLWordPrintable

    • b100
    • Verified

        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.

              Assignee:
              Srikanth Adayapalam (Inactive)
              Reporter:
              Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: