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

Add SimpleJavaFileObject.forInput

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 21
    • 22
    • tools
    • None

    Description

      All usages of SimpleJavaFileObject require creating some sort of subtype, including the common simple use where the content is a string for input.

      Such usage would be simplified by providing a static factory method creating an instance of an internal possibly-anonymous class for that use case.

      Attachments

        Activity

          People

            cstein Christian Stein
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: