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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 9
    • core-libs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: