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

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

XMLWordPrintable

      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

            rnairsunw Raghu Nair
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: