8177153: LambdaMetafactory has default constructor
Reviewed-by: psandoz
Contributed-by: ron.pressler@oracle.com
--- a/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java Tue May 09 10:34:13 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java Tue May 09 15:04:46 2017 -0700
@@ -213,7 +213,9 @@
* methods.
* @since 1.8
*/
-public class LambdaMetafactory {
+public final class LambdaMetafactory {
+
+ private LambdaMetafactory() {}
/** Flag for alternate metafactories indicating the lambda object
* must be serializable */