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.

        Activity

        Hide
        jjg Jonathan Gibbons added a comment -
        Strictly speaking, not a JavadocTester issue, but worth tagging with javadoctester for consideration with related test cleanup.
        Show
        jjg Jonathan Gibbons added a comment - Strictly speaking, not a JavadocTester issue, but worth tagging with javadoctester for consideration with related test cleanup.
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/0924a40d9739
        User: jjg
        Date: 2014-04-19 00:23:58 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/0924a40d9739 User: jjg Date: 2014-04-19 00:23:58 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/0924a40d9739
        User: lana
        Date: 2014-04-30 20:10:02 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/0924a40d9739 User: lana Date: 2014-04-30 20:10:02 +0000

          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: