--- a/src/java.base/share/classes/java/lang/reflect/Constructor.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/lang/reflect/Constructor.java Fri Sep 20 11:07:52 2019 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
@@ -454,21 +454,21 @@
* @return a new object created by calling the constructor
* this object represents
*
- * @exception IllegalAccessException if this {@code Constructor} object
+ * @throws IllegalAccessException if this {@code Constructor} object
* is enforcing Java language access control and the underlying
* constructor is inaccessible.
- * @exception IllegalArgumentException if the number of actual
+ * @throws IllegalArgumentException if the number of actual
* and formal parameters differ; if an unwrapping
* conversion for primitive arguments fails; or if,
* after possible unwrapping, a parameter value
* cannot be converted to the corresponding formal
* parameter type by a method invocation conversion; if
* this constructor pertains to an enum type.
- * @exception InstantiationException if the class that declares the
+ * @throws InstantiationException if the class that declares the
* underlying constructor represents an abstract class.
- * @exception InvocationTargetException if the underlying constructor
+ * @throws InvocationTargetException if the underlying constructor
* throws an exception.
- * @exception ExceptionInInitializerError if the initialization provoked
+ * @throws ExceptionInInitializerError if the initialization provoked
* by this method fails.
*/
@CallerSensitive