hg: jdk9/sandbox/jdk: Update the compare and exchange methods to always return the witness value,

paul.sandoz at oracle.com paul.sandoz at oracle.com
Mon Nov 2 15:50:26 UTC 2015


Changeset: 6d0ce2b387fc
Author:    psandoz
Date:      2015-11-02 16:41 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/6d0ce2b387fc

Update the compare and exchange methods to always return the witness value,

! src/java.base/share/classes/java/lang/invoke/VarHandle.java
! test/java/lang/invoke/VarHandleTestInt.java
! test/java/lang/invoke/VarHandleTestLong.java
! test/java/lang/invoke/VarHandleTestString.java
! test/java/lang/invoke/X-VarHandleTest.java.template



More information about the jdk9-sandbox-changes mailing list