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

add explicit @build actions for jdk.test.lib classes in all :tier[1-3] tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
    • Verification:
      Verified

      Description

      not having explicit @build action might lead to sporadic test failures, therefore all tests directly or indirectly depend on test library classes have to have corresponding explicit build actions.

      per Jon Gibbons suggestion[1], all such tests can be found by analyzing classes directory of tests. jdeps tool can be used to get the list of classes required for a specific test.

      [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-June/048092.html
      You might also be able to do run groups of tests (such as all tests that use a given library) and then look for duplicate classes in the compiled classes directory. Such classes will generally be an indication of implicit compilation.

      -- Jon

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iignatyev Igor Ignatyev (Inactive)
              Reporter:
              iignatyev Igor Ignatyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: