Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6440112

Error includes trailing garbage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • tools
    • generic
    • generic

      Create a source file with one line (and not end-of-line character)
      that contains an error:

      class Test extends Missing {}

      The compiler includes garbage in the diagnostic:

      class Test extends Missing {}\u001a\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000
                         ^

            jjg Jonathan Gibbons
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: