Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8000743

docencoding not available to stylesheet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • tools
    • None
    • b63
    • Verified

        *Recreation step : *
        javadoc -docencoding "use non-ascii encoding" HelloWorld.java
        say ,
        jdk1.8.0\bin\javadoc.exe -docencoding Cp930 -d docencoding3 HelloWorld.java

        *Explanation :*
        The stylesheet.css is not getting generated in the proper encoding as in the code the configuration.docencoding is not getting passed to the output stream .
        while this scenario works in JDK 6 [as confirmed in Java 6u14] , below changeset seems to have regressed this when adding new copyFile method.

        Changeset:
        792 (ffbf2b2a8611) 7006270: Several javadoc regression tests are failing on windows

        [removed]

        Thanks and Regards,
        Jayashree V

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: