allow javac plugins to access/wrap/override the file manager

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 14
    • Component/s: tools

      It would be good for plugins to have access to the file manager.
      To facilitate this, the following method could be added to com.sun.source.util.Plugin

      JavaFileManager getJavaFileManager(JavaFileManager fm)

      with a default implementation of "return fm;"

      This would allow a plugin to be informed about and possible wrap the file manager used in the compilation, using ForwardingJavaFileManager.

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

              Created:
              Updated:
              Resolved: