8177153: LambdaMetafactory has default constructor
authorpsandoz
Tue, 09 May 2017 15:04:46 -0700
changeset 45117 7470e726740b
parent 45031 cd369ee4d4bc
child 45118 e4258d800b54
8177153: LambdaMetafactory has default constructor Reviewed-by: psandoz Contributed-by: ron.pressler@oracle.com
jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java
--- 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 */