RFR: JDK-8276892: Provide a way to emulate exceptional situations in FileManager when using JavadocTester
Jonathan Gibbons
jjg at openjdk.java.net
Tue Nov 16 19:52:40 UTC 2021
On Tue, 16 Nov 2021 18:24:15 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> TL;DR: Yes. But I didn't know about the getFileForInput use case. I'll look to make that possible.
There is an interesting difference between trapping `javax.tools.JavaFileManager#getFileForInput` and `javax.tools.FileObject#getCharContent`.
For `getCharContent` we are filtering on the receiver of the method call. For `getFileForInput` we would want to trap on the
-------------
PR: https://git.openjdk.java.net/jdk/pull/6404
More information about the javadoc-dev
mailing list