Update error message for encoding errors in Java source files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: 9
    • Component/s: tools

      During work for JDK-8068464 for creation of golden files for negative tests, following error message was generated for tools/javac/unicode/Unmappable.java:

      Unmappable.java:12:18: compiler.err.illegal.char.for.encoding: ascii
      1 error

      As per Jon's comments, the error message does not indicate the illegal character although it does indicate the position and should be updated.

            Assignee:
            Jan Lahoda
            Reporter:
            Sonali Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: