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

improved diagnostics for attempted use of new keywords as identifiers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • tools
    • None
    • generic
    • solaris_8

      The javac diagnostic when "enum" is used as an identifier in -source 1.5
      should suggest recompiling with -source 1.4 or earlier.

      The javac diagnostic when "assert" is used as an identifier in -source 1.4
      or later should suggest recompiling with -source 1.3 or earlier.

            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: