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

Shallow equality of value objects

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      According to current JEP-401 draft (https://bugs.openjdk.org/browse/JDK-8251554),
      "two large trees of value objects can take unbounded time to compute == potentially a DoS attack risk".

      It would be good to have equality method limited by field depth and duration. It can only be "false positive" - return true for some different objects.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: