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

allow discoverable javac plugins to be invoked by default

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      It would be good to allow javac plugins to be able to be invoked by default.

      To facilitate this, the following method could be added to com.sun.source.util.Plugin

        boolean isDefault()

      with a default implementation of "return false;"

      All plugins found by the service loader that return isDefault:true and which have not been explicitly invoked already from the command line would be invoked with an empty set of args.

      As part of this, it would be worth verifying that plugins can be loaded from modules and/or jlinked into an image.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: