Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272234 Pass originating elements from Filer to JavaFileManager
  3. JDK-8280869

Release Note: Passing Originating Elements From Filer to JavaFileManager

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • P3
    • Resolution: Delivered
    • 18
    • 18
    • tools
    • Verified

    Description

      The `javax.tools.JavaFileManager` has been extended with two new methods, `getJavaFileForOutputForOriginatingFiles` and `getFileForOutputForOriginatingFiles`, that are used to create new files with specified originating files. The `Filer` uses these methods when creating new files (with `Filer.createSourceFile`, `Filer.createClassFile`, `Filer.createResource`) in order to pass along the files containing the _originating elements_.

      Attachments

        Activity

          People

            jlahoda Jan Lahoda
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: