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.
Such usage would be simplified by providing a static factory method creating an instance of an internal possibly-anonymous class for that use case.
- duplicates
-
JDK-8325362 Allow to create a simple in-memory input JavaFileObject
-
- Resolved
-