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

Exact VarHandle tests should test withInvokeBehavior() works as expected

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:

      Description

      Current tests don't verify.

      1. Whether calling withInvoke(Exact)Behavior on a VarHandle that already has that behavior will return the same var handle (as specified).
      2. Whether the var handle returned by calling withInvokeBehavior on an exact var handle actually returns a var handle with invoke behavior.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvernee Jorn Vernee
              Reporter:
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: