8150856: Inconsistent API documentation for @param caller in System.LoggerFinder.getLogger
Summary: @throws clause is correct; @param caller documentation fixed: caller must not be null.
Reviewed-by: martin
--- a/jdk/src/java.base/share/classes/java/lang/System.java Tue Mar 01 09:48:49 2016 +0100
+++ b/jdk/src/java.base/share/classes/java/lang/System.java Tue Mar 01 12:05:14 2016 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2016, 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
@@ -1418,8 +1418,7 @@
* for the given {@code caller}.
*
* @param name the name of the logger.
- * @param caller the class for which the logger is being requested;
- * can be {@code null}.
+ * @param caller the class for which the logger is being requested.
*
* @return a {@link Logger logger} suitable for the given caller's
* use.