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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: