From b729d8ed7970737a8a2d4e8aa788df33789faea2 Mon Sep 17 00:00:00 2001 From: Conor Cleary Date: Wed, 7 Apr 2021 14:10:00 +0100 Subject: [PATCH] 8264779: Doc fixes to generated exceptions --- make/scripts/genExceptions.sh | 5 ++++- src/java.base/share/classes/java/nio/charset/exceptions | 4 ++-- src/java.base/share/classes/java/nio/exceptions | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/make/scripts/genExceptions.sh b/make/scripts/genExceptions.sh index 68f545457ed88..4f6c0d9820b4e 100644 --- a/make/scripts/genExceptions.sh +++ b/make/scripts/genExceptions.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2021, 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 @@ -68,6 +68,9 @@ __END__ cat >>$out <<__END__ + /** + * The $ARG_PHRASE. + */ private $ARG_TYPE $ARG_ID; /** diff --git a/src/java.base/share/classes/java/nio/charset/exceptions b/src/java.base/share/classes/java/nio/charset/exceptions index 22dfa3ca621d9..c4773090ae047 100644 --- a/src/java.base/share/classes/java/nio/charset/exceptions +++ b/src/java.base/share/classes/java/nio/charset/exceptions @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2021, 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 @@ -28,7 +28,7 @@ SINCE=1.4 PACKAGE=java.nio.charset # This year should only change if the generated source is modified. -COPYRIGHT_YEARS="2000, 2007," +COPYRIGHT_YEARS="2000, 2021," SUPER=java.io.IOException diff --git a/src/java.base/share/classes/java/nio/exceptions b/src/java.base/share/classes/java/nio/exceptions index d8cba29cc2d19..7465cdbed78f6 100644 --- a/src/java.base/share/classes/java/nio/exceptions +++ b/src/java.base/share/classes/java/nio/exceptions @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2021, 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 @@ -28,7 +28,7 @@ SINCE=1.4 PACKAGE=java.nio # This year should only change if the generated source is modified. -COPYRIGHT_YEARS="2000, 2007," +COPYRIGHT_YEARS="2000, 2021," SUPER=RuntimeException