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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b105

      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

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

              Created:
              Updated:
              Resolved: