diff -r 27f7952eea3c -r b980e8e6aabf src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ClassBuilder.java --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ClassBuilder.java Wed Oct 31 08:31:40 2012 -0700 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ClassBuilder.java Wed Oct 31 13:48:15 2012 -0700 @@ -266,10 +266,7 @@ //Only copy doc files dir if the containing package is not //documented AND if we have not documented a class from the same //package already. Otherwise, we are making duplicate copies. - Util.copyDocFiles(configuration, - new File(Util.getPackageSourcePath(configuration, containingPackage), - DocPath.forPackage(classDoc).getPath()), - DocPaths.DOC_FILES, true); + Util.copyDocFiles(configuration, containingPackage); containingPackagesSeen.add(containingPackage.name()); } }