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

The API changes made by CR 7064075 need to be reverted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u111
    • Fix Version/s: openjdk7u
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b00
    • Introduced In Version:
    • Resolved In Build:
      master

      Backports

        Description

        @@ -367,7 +368,7 @@
              * (e.g., the given key has an algorithm or format not supported by this
              * secret-key factory).
              */
        - public final KeySpec getKeySpec(SecretKey key, Class keySpec)
        + public final KeySpec getKeySpec(SecretKey key, Class<?> keySpec)
                     throws InvalidKeySpecException {
                 if (serviceIterator == null) {
                     return spi.engineGetKeySpec(key, keySpec);

        @@ -88,7 +88,7 @@
              * (e.g., the given key has an algorithm or format not supported by this
              * secret-key factory).
              */
        - protected abstract KeySpec engineGetKeySpec(SecretKey key, Class keySpec)
        + protected abstract KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec)
                 throws InvalidKeySpecException;
         
             /**

        The addition of the type parameter <?> to the Class parameter causes JCK issues.

          Issue Links

            Activity

            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/cc1ed9a35188
            User: andrew
            Date: 2016-08-03 06:07:12 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/cc1ed9a35188 User: andrew Date: 2016-08-03 06:07:12 +0000

              People

              • Assignee:
                andrew Andrew Hughes
                Reporter:
                andrew Andrew Hughes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: