(scanner) Javac doesn't allow unicode escapes at start of programs

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: tools
    • b12
    • generic
    • generic
    • Verified

      This program does not compile:

      BEGIN Broken.java===========
      \u0063lass Broken {
          public static void main(String[] args) {
      System.out.println("Hello world!");
          }
      }
      END Broken.java=============

      ###@###.### 2004-09-08

            Assignee:
            Peter Ahe
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: