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

    • Bug
    • Resolution: Fixed
    • P2
    • 10
    • 10
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: