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

Provide a message abstraction to test/lib/JavacTestingAbstractProcessor

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7, 8
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      Food for thought, it would be feasible to add methods like

       155 void note(String msg) {
       156 messager.printMessage(Diagnostic.Kind.NOTE, msg);
       157 }
       158
       159 void note(String msg, Element e) {
       160 messager.printMessage(Diagnostic.Kind.NOTE, msg, e);
       161 }
       162
       163 void error(String msg, Element e) {
       164 messager.printMessage(Diagnostic.Kind.ERROR, msg, e);
       165 }

      to a Messager subinterface defined in JavacTestingAbstractProcesso

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jfranck Joel Borggrén-Franck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: