[test] bench.java.security.Signatures.RSASSAPSS should support multithreads

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      The test org.openjdk.bench.java.security.Signatures.RSASSAPSS.sign should support 2 threads configuration.
      Now it failed with different exceptions:
      # java -jar benchmarks.jar -f 1 -wi 1 -i 1 -t 2 -p messageLength=2048 Signatures.RSASSA
      ...
      # Parameters: (algorithm = SHA256, messageLength = 2048)
      ...
      java.security.ProviderException: Digest should be reset
      ...
      # Parameters: (algorithm = SHA384, messageLength = 2048)
      ...
      java.security.ProviderException: Digest should be reset
      ...
      # Parameters: (algorithm = SHA512, messageLength = 2048)
      ...
      java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -8 is negative

            Assignee:
            Mark Powers
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: