RFR: 8150856 - Inconsistent API documentation for @param caller in System.LoggerFinder.getLogger

Mandy Chung mandy.chung at oracle.com
Tue Mar 1 16:24:15 UTC 2016


> On Feb 29, 2016, at 9:46 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> --- old/src/java.base/share/classes/java/lang/System.java	2016-02-29 18:41:30.000000000 +0100
> +++ new/src/java.base/share/classes/java/lang/System.java	2016-02-29 18:41:30.000000000 +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
> @@ -1419,7 +1419,6 @@
>          *
>          * @param name the name of the logger.
>          * @param caller the class for which the logger is being requested;
> -         *               can be {@code null}.
>          *
>          * @return a {@link Logger logger} suitable for the given caller's
>          *         use.

+1

s/requested;/requested./ as Martin points out.

Mandy


More information about the core-libs-dev mailing list