diff -r 467f4f754368 -r 400a4e8accd3 src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java Thu Nov 15 14:41:31 2012 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java Thu Nov 15 19:54:20 2012 -0800 @@ -32,6 +32,7 @@ import com.sun.tools.doclets.internal.toolkit.builders.BuilderFactory; import com.sun.tools.doclets.internal.toolkit.taglets.*; import com.sun.tools.doclets.internal.toolkit.util.*; +import javax.tools.JavaFileManager; /** * Configure the output based on the options. Doclets should sub-class @@ -752,7 +753,7 @@ * @return the input steam to the builder XML. * @throws FileNotFoundException when the given XML file cannot be found. */ - public InputStream getBuilderXML() throws FileNotFoundException { + public InputStream getBuilderXML() throws IOException { return builderXMLPath == null ? Configuration.class.getResourceAsStream(DEFAULT_BUILDER_XML) : DocFile.createFileForInput(this, builderXMLPath).openInputStream(); @@ -764,6 +765,11 @@ public abstract Locale getLocale(); /** + * Return the current file manager. + */ + public abstract JavaFileManager getFileManager(); + + /** * Return the comparator that will be used to sort member documentation. * To no do any sorting, return null. *