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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: