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

Execute tests in source/class-file order in JavadocTester

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • tools
    • None

    Description

      Currently, the default set of test cases executed by JavadocTester are executed in the undefined/random order given by getDeclaredMethods.

      It would be more helpful/convenient to execute the test cases in source-file order,

      Since javac generates methods in a class file in the same order that they appear in the corresponding source file, we can use the order of methods in the class file as a proxy for the order in the source file.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: