Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5823

[classlib][security] ExceptionInInitializerError when accessing KeyPairGenerator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0M6
    • 5.0M6
    • Classlib
    • None
    • SLES 10 x86

    Description

      The following code causes ExceptionInInitializerError under Linux x86.

      import java.security.KeyPairGenerator;
      import java.security.NoSuchAlgorithmException;

      public class Test {

      public static void main(String[] args) throws NoSuchAlgorithmException

      { System.setSecurityManager(new SecurityManager()); KeyPairGenerator.getInstance("RSA"); }

      }

      This issue is a regression, it causes failures of the security functional tests http://people.apache.org/~smishura/r653525/Linux_x86/func/junit/index.html

      Attachments

        Activity

          People

            hindessm Mark Hindess
            apavlenko Andrey Pavlenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: