Details

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

      Description

      There is an convention in many of the javadoc tests to name the output directory for the javadoc run after the bug number being fixed, using a String named BUG_ID.

      The convention is unnecessary and misleading. jtreg already keeps the output for each test separate.

      We should
      1. Remove declarations of BUG_ID from the tests using this convention
      2. Replace use of BUG_ID with a new variable OUTDIR
      3. Add a shared declaration of OUTDIR to JavadocTester class

        Issue Links

          Activity

          Hide
          jjg Jonathan Gibbons added a comment -
          The following script identifies 132 files that will be affected

          grep --files-with-matches 'String BUG_ID' $(find test -name \*.java | xargs -n 1 grep --files-with-matches 'extends JavadocTester')
          Show
          jjg Jonathan Gibbons added a comment - The following script identifies 132 files that will be affected grep --files-with-matches 'String BUG_ID' $(find test -name \*.java | xargs -n 1 grep --files-with-matches 'extends JavadocTester')
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/903e207a9fac
          User: jjg
          Date: 2014-04-23 00:58:04 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/903e207a9fac User: jjg Date: 2014-04-23 00:58:04 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/903e207a9fac
          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/903e207a9fac 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: