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

(ref) Remove the undocumented "jdk.lang.ref.disableClearBeforeEnqueue" system property

    XMLWordPrintable

Details

    • b01

    Backports

      Description

        The behavior of the `Reference::enqueue` method was changed in JDK 9 to clear the reference object before enqueuing.

        A system property `jdk.lang.ref.disableClearBeforeEnqueue` was added to allow existing code to revert to JDK 8 behavior as an interim solution to give time to migrate to JDK 9 spec change.

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: