Faulty assertion in checkInvariants method of ConcurrentHashMap

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 8
    • Component/s: core-libs

      The checkInvariants() method in ConcurrentHashMap is invoked when assertions are enabled. The implementation in checkInvariants() appears to be faulty as noted in a PR that's currently proposing to fix it https://github.com/openjdk/jdk/pull/24612/

            Assignee:
            Viktor Klang
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: