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

Execute tests in source/class-file order in JavadocTester

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: