--- a/src/java.base/share/classes/java/lang/invoke/ClassSpecializer.java Sat Aug 24 09:31:15 2019 +0530
+++ b/src/java.base/share/classes/java/lang/invoke/ClassSpecializer.java Mon Sep 09 10:13:42 2019 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -459,6 +459,11 @@
*/
public class Factory {
/**
+ * Constructs a factory.
+ */
+ Factory() {}
+
+ /**
* Get a concrete subclass of the top class for a given combination of bound types.
*
* @param speciesData the species requiring the class, not yet linked