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

javadoc test TestDocEncoding should use -notimestamp

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b11
    • Verification:
      Verified

      Description

      When checking javadoc refactoring, it is convenient to compare the before-and-after output of all the tests. By default, javadoc writes hidden timestamps in the generated files, and so to be able to compare befopre-and-after, it is convenient to use shell scriipts to "zap" these timestamps.

      But TestDocEncoding.java writes files with Cp930 encoding, which makes it much harder to remove the generated timestamp. In this exceptional case, we should run javadoc with -notimestamps.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: