improved diagnostics for attempted use of new keywords as identifiers

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 5.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: