upgrade JavaCompiler.shouldStopPolicy to accomodate policies in face of error and no error

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: tools
    • b61
    • generic
    • generic
    • Not verified

      Currently, JavaCompiler.shouldStopPolicy is about continuing compilation after errors.
      Deciding to stop compilatrion early, i.e. -proc:only, is handled explicitly in JavacProcessingEnvironment.

      It would be good to extend the use of CompilePolicy to accomodate a more flexible -proc:only feature, as needed by type annotations.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: