Error recovery in module-info.java could be improved

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: tools
    • None
    • b26

      Consider code like:
      ---
      module m {
           provides com.
      }
      ---

      When this code is parsed, the AST will not contain the provides directive, due to not ideal error recovery. Note this is unlike to other directives, which are included even if they are not fully written.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: