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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 8
    • 7
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: