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

The API changes made by CR 7064075 need to be reverted

XMLWordPrintable

    • b00
    • master

        @@ -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.

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

                Created:
                Updated:
                Resolved: