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

when \u000a is used, diagnostics are reported on the wrong line.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.0
    • tools
    • mantis
    • generic
    • solaris_8

      frog:~/workspaces/test/New39 $ cat -n T.java
           1 class T {
           2 // \u000a \u000a \u000a
           3 foo;
           4 }
      frog:~/workspaces/test/New39 $ newjavac T.java
      /usr/java1.4/bin/javac -J-Xbootclasspath/p:/net/frog/gafter/gjc-work/generics/build/bootstrap2 -bootclasspath /net/frog/gafter/gjc-work/generics/build/collections2:/usr/java1.4/jre/lib/stubs.jar:/usr/java1.4/jre/lib/rt.jar -classpath . T.java
      T.java:6: <identifier> expected
             ^
      1 error
      frog:~/workspaces/test/New39 $

            gafter Neal Gafter (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: