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

Replace custom crypto check/range functionality with check index/range methods in java.util.Objects

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Resolved In Build:
      b105

      Description

      JDK-8135248 will provide public methods in java.util.Arrays for checking indexes and ranges. Existing code with custom check/range functionality can be updated to use these methods.

      Specifically replace custom code in:

        java.base/share/classes/com/sun/crypto/provider/AESCrypt.java#l352
        java.base/share/classes/com/sun/crypto/provider/CounterMode.java#l168

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz
                Reporter:
                psandoz Paul Sandoz
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: