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

addProvider/insertProviderAt/removeProvider calls affect other tests run in -agentvm in JTREG.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: security-libs

      Description

      This is to address the larger issue in JDK-8027526. We have not seen other tests failing, but this is a potential problem with hard to discover impacts on stability.

      JTREG currently do not store/restore Security Providers when running in agentvm. There are about 80 such tests at the moment.

      The other options available are:

      1. Update each test that does a Security.addProvider/insertProviderAt/removeProvider to run in -othervm.

      2. Update each test to use this library to restore.

           java/security/testlibrary/ProvidersSnapshot.java

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rnairsunw Raghu Nair (Inactive)
              Reporter:
              wetmore Bradford Wetmore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: