8150856: Inconsistent API documentation for @param caller in System.LoggerFinder.getLogger
authordfuchs
Tue, 01 Mar 2016 12:05:14 +0100
changeset 36215 0bca9bba2f20
parent 36214 080d86e2ea6d
child 36216 dcee368a83a2
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
jdk/src/java.base/share/classes/java/lang/System.java
--- 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.