-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 8
-
Component/s: specification
From the JEP 193 description:
The following additions will be required to the Java Language Specification:
1. Make reference to the signature-polymorphic access mode methods in the VarHandle class.
2. Allow signature-polymorphic methods to return types other than Object, indicating that the return type is not polymorphic (and would otherwise be declared via a cast at the call site). This makes it easier invoke write-based access methods that return void and invoke compareAndSet that returns a boolean value.
The following additions will be required to the Java Language Specification:
1. Make reference to the signature-polymorphic access mode methods in the VarHandle class.
2. Allow signature-polymorphic methods to return types other than Object, indicating that the return type is not polymorphic (and would otherwise be declared via a cast at the call site). This makes it easier invoke write-based access methods that return void and invoke compareAndSet that returns a boolean value.
- relates to
-
JDK-8080588 VarHandles development
-
- Resolved
-
-
JDK-8131750 JVMS changes for VarHandles
-
- Closed
-