1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java Wed Oct 17 16:43:26 2012 +0100 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java Tue Oct 23 13:20:37 2012 -0700 1.3 @@ -36,7 +36,7 @@ 1.4 /** 1.5 * Generate the package index page "overview-summary.html" for the right-hand 1.6 * frame. A click on the package name on this page will update the same frame 1.7 - * with the "pacakge-summary.html" file for the clicked package. 1.8 + * with the "package-summary.html" file for the clicked package. 1.9 * 1.10 * <p><b>This is NOT part of any supported API. 1.11 * If you write code that depends on this, you do so at your own risk. 1.12 @@ -73,7 +73,7 @@ 1.13 * @see Group 1.14 */ 1.15 public PackageIndexWriter(ConfigurationImpl configuration, 1.16 - String filename) 1.17 + DocPath filename) 1.18 throws IOException { 1.19 super(configuration, filename); 1.20 this.root = configuration.root; 1.21 @@ -88,7 +88,7 @@ 1.22 */ 1.23 public static void generate(ConfigurationImpl configuration) { 1.24 PackageIndexWriter packgen; 1.25 - String filename = "overview-summary.html"; 1.26 + DocPath filename = DocPaths.OVERVIEW_SUMMARY; 1.27 try { 1.28 packgen = new PackageIndexWriter(configuration, filename); 1.29 packgen.buildPackageIndexFile("doclet.Window_Overview_Summary", true);