exotic identifier syntax should not be enabled by default in -source 6 or earlier

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • 8
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      This class compiles under javac -source 6:
        class #"a+b" { }

      It should report a syntax error, since that version of the language does not support exotic identifiers.

            Assignee:
            John Rose
            Reporter:
            John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: