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

Update security tests to use Security.getProvider to get security provider

XMLWordPrintable

    • b72

        Tests should call public API to get security provider instead of directly instantiate the provider object like this:

        - Provider provider = new sun.security.provider.Sun();
        + Provider provider = Security.getProvider("SUN");

              mchung Mandy Chung (Inactive)
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: