Hi

Please review:

  
http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151198-VH-factory-exceptions/webrev/
 
<http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151198-VH-factory-exceptions/webrev/>

The patch tweaks the specification:

1) noting that factory methods may document additional undeclared exceptions 
that may be thrown by access methods e.g. IllegalSateException for VarHandles 
to ByteBuffer for misaligned access.

2) add the throwing of ClassCastException to each method, which i neglected to 
add when switching from invokeExact to invoke semantics.

Paul.

Reply via email to