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

Exact VarHandle tests should test withInvokeBehavior() works as expected

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: