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

allow discoverable javac plugins to be invoked by default

XMLWordPrintable

    • b27

      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.

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

              Created:
              Updated:
              Resolved: