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:
      b12
    • Verification:
      Verified

      Description

      Some javadoc tests run javadoc multiple times without using a unique output directory.

      We should fix JavadocTester to detect such usage and fix the affected tests.

        Issue Links

          Activity

          Hide
          jjg Jonathan Gibbons added a comment -
          The following tests seem to be bad:
          test/com/sun/javadoc/testDocFileDir/TestDocFileDir.java
          test/com/sun/javadoc/testGeneratedBy/TestGeneratedBy.java
          test/com/sun/javadoc/testGroupOption/TestGroupOption.java
          test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
          test/com/sun/javadoc/testHtmlStrongTag/TestHtmlStrongTag.java
          test/com/sun/javadoc/testHtmlTag/TestHtmlTag.java
          test/com/sun/javadoc/testNotifications/TestNotifications.java
          test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java
          test/com/sun/javadoc/testSinceTag/TestSinceTag.java
          test/com/sun/javadoc/testTypeParams/TestTypeParameters.java
          test/com/sun/javadoc/testWarnings/TestWarnings.java
          Show
          jjg Jonathan Gibbons added a comment - The following tests seem to be bad: test/com/sun/javadoc/testDocFileDir/TestDocFileDir.java test/com/sun/javadoc/testGeneratedBy/TestGeneratedBy.java test/com/sun/javadoc/testGroupOption/TestGroupOption.java test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java test/com/sun/javadoc/testHtmlStrongTag/TestHtmlStrongTag.java test/com/sun/javadoc/testHtmlTag/TestHtmlTag.java test/com/sun/javadoc/testNotifications/TestNotifications.java test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java test/com/sun/javadoc/testSinceTag/TestSinceTag.java test/com/sun/javadoc/testTypeParams/TestTypeParameters.java test/com/sun/javadoc/testWarnings/TestWarnings.java
          Hide
          jjg Jonathan Gibbons added a comment -
          This fix will be a lot easier after JDK-8040903, in which the output directory is inferred from the javadoc args, allowing TEST and NEGATED_TEST arrays to be shared between uses of JavadocTester with a single test.

          See for example, test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java which applies a shared TEST array (TEST_ALL) to all invocations of javadoc.
          Show
          jjg Jonathan Gibbons added a comment - This fix will be a lot easier after JDK-8040903 , in which the output directory is inferred from the javadoc args, allowing TEST and NEGATED_TEST arrays to be shared between uses of JavadocTester with a single test. See for example, test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java which applies a shared TEST array (TEST_ALL) to all invocations of javadoc.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/5828c0ddbb04
          User: jjg
          Date: 2014-04-25 20:09:02 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/5828c0ddbb04 User: jjg Date: 2014-04-25 20:09:02 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/5828c0ddbb04
          User: lana
          Date: 2014-05-07 18:50:07 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/5828c0ddbb04 User: lana Date: 2014-05-07 18:50:07 +0000

            People

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

              Dates

              • Created:
                Updated:
                Resolved: