1.1 --- a/src/share/classes/com/sun/tools/javadoc/DocEnv.java Tue Jan 20 17:49:49 2009 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javadoc/DocEnv.java Tue Jan 20 15:17:45 2009 -0800 1.3 @@ -25,8 +25,9 @@ 1.4 1.5 package com.sun.tools.javadoc; 1.6 1.7 +import java.lang.reflect.Modifier; 1.8 import java.util.*; 1.9 -import java.lang.reflect.Modifier; 1.10 +import javax.tools.JavaFileManager; 1.11 1.12 import com.sun.javadoc.*; 1.13 1.14 @@ -40,7 +41,6 @@ 1.15 import com.sun.tools.javac.util.Names; 1.16 import com.sun.tools.javac.util.Position; 1.17 1.18 - 1.19 /** 1.20 * Holds the environment for a run of javadoc. 1.21 * Holds only the information needed throughout the 1.22 @@ -103,6 +103,7 @@ 1.23 1.24 Check chk; 1.25 Types types; 1.26 + JavaFileManager fileManager; 1.27 1.28 /** Allow documenting from class files? */ 1.29 boolean docClasses = false; 1.30 @@ -133,6 +134,7 @@ 1.31 externalizableSym = reader.enterClass(names.fromString("java.io.Externalizable")); 1.32 chk = Check.instance(context); 1.33 types = Types.instance(context); 1.34 + fileManager = context.get(JavaFileManager.class); 1.35 1.36 // Default. Should normally be reset with setLocale. 1.37 this.doclocale = new DocLocale(this, "", breakiterator);