1.1 --- a/rt/emul/compact/src/main/java/java/lang/invoke/LambdaMetafactory.java Sat Aug 09 11:11:13 2014 +0200
1.2 +++ b/rt/emul/compact/src/main/java/java/lang/invoke/LambdaMetafactory.java Sun Aug 10 07:02:12 2014 +0200
1.3 @@ -296,12 +296,13 @@
1.4 MethodType instantiatedMethodType)
1.5 throws LambdaConversionException {
1.6 AbstractValidatingLambdaMetafactory mf;
1.7 - mf = new InnerClassLambdaMetafactory(caller, invokedType,
1.8 - invokedName, samMethodType,
1.9 - implMethod, instantiatedMethodType,
1.10 - false, EMPTY_CLASS_ARRAY, EMPTY_MT_ARRAY);
1.11 - mf.validateMetafactoryArgs();
1.12 - return mf.buildCallSite();
1.13 +// mf = new InnerClassLambdaMetafactory(caller, invokedType,
1.14 +// invokedName, samMethodType,
1.15 +// implMethod, instantiatedMethodType,
1.16 +// false, EMPTY_CLASS_ARRAY, EMPTY_MT_ARRAY);
1.17 +// mf.validateMetafactoryArgs();
1.18 +// return mf.buildCallSite();
1.19 + throw new IllegalStateException();
1.20 }
1.21
1.22 /**
1.23 @@ -462,14 +463,15 @@
1.24 }
1.25 }
1.26
1.27 - AbstractValidatingLambdaMetafactory mf
1.28 - = new InnerClassLambdaMetafactory(caller, invokedType,
1.29 - invokedName, samMethodType,
1.30 - implMethod,
1.31 - instantiatedMethodType,
1.32 - isSerializable,
1.33 - markerInterfaces, bridges);
1.34 - mf.validateMetafactoryArgs();
1.35 - return mf.buildCallSite();
1.36 +// AbstractValidatingLambdaMetafactory mf
1.37 +// = new InnerClassLambdaMetafactory(caller, invokedType,
1.38 +// invokedName, samMethodType,
1.39 +// implMethod,
1.40 +// instantiatedMethodType,
1.41 +// isSerializable,
1.42 +// markerInterfaces, bridges);
1.43 +// mf.validateMetafactoryArgs();
1.44 +// return mf.buildCallSite();
1.45 + throw new IllegalStateException();
1.46 }
1.47 }