--- old/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java 2017-05-05 15:25:39.943292780 -0700 +++ new/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java 2017-05-05 15:25:39.815287190 -0700 @@ -149,8 +149,12 @@ * capture argument (corresponding to the receiver) must be non-null. * *
A type Q is considered adaptable to S as follows: - *
Q | S | Link-time checks | Invocation-time checks |
---|---|---|---|
Primitive | Primitive | *Q can be converted to S via a primitive widening conversion | @@ -176,6 +180,7 @@ *Cast from Q to S | *