[PATCH] 8245694 : java.util.Properties.entrySet() does not override java.lang.Object methods
Lisa Li
liyu.italy at gmail.com
Mon Jun 22 11:53:28 UTC 2020
Hi Julia,
Sorry 'bout the rookie mistake. Thanks a lot for the clarification!
Just to confirm, for src/java.base/share/classes/java/util/Properties.java
the copyright should be updated as :
+ * Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights
Because 1995 was the year when the file was added, while 2020 when this
change is made. Correct me if I'm wrong.
Best regards,
Yu L.
On Mon, Jun 22, 2020 at 5:41 PM Julia Boes <julia.boes at oracle.com> wrote:
> Hi Yu,
>
> diff -r 216c6baa0564 -r 09736e9e4c38
> src/java.base/share/classes/java/util/Properties.java
> --- a/src/java.base/share/classes/java/util/Properties.java Sat Jun 20
> 15:11:19 2020 +0800
> +++ b/src/java.base/share/classes/java/util/Properties.java Sat Jun 20
> 22:27:57 2020 +0800
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights
> reserved.
> + * Copyright (c) 2020, 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
> @@ -1405,6 +1405,21 @@
>
> Looks good but for src/java.base/share/classes/java/util/Properties.java
> the copyright line has to look as such:
>
> + * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights
>
> The line contains the year when the file was added and the year when the
> last change was made (if applicable). So for an existing file, you change
> the ending copyright year. For a newly added file, only the current year is
> listed. I hope this makes sense.
>
> Cheers,
>
> Julia
>
More information about the core-libs-dev
mailing list