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

Replace hardcoded security providers with new test.provider.name system property

XMLWordPrintable

        Few tests hardcode "SunJCE" provider name restricting test execution to only SunJCE. This task is filed to utilize test.provider.name property to read provider to test against and default to "SunJCE" if none specified.

        For instance -

        - Cipher c = Cipher.getInstance("AES/GCM/NoPadding", "SunJCE");
        + Cipher c = Cipher.getInstance("AES/GCM/NoPadding", System.getProperty("test.provider.name", "SunJCE"));

              mdonovan Matthew Donovan
              rhalade Rajan Halade
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: