Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2839

Method boolean Cache.replace(K key, V oldValue, V value) (and variants) should guard against null oldValue parameter

    XMLWordPrintable

Details

    Description

      The null check is not done explicitly but it will accidentally fail with NPE when trying to cast the result of the execution of ReplaceCommand to a Boolean.

      Attachments

        Activity

          People

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: