JDK 14 RFR of JDK-8229997: Apply java.io.Serial annotations in java.base
Alan Bateman
Alan.Bateman at oracle.com
Wed Aug 28 16:23:57 UTC 2019
On 28/08/2019 17:08, Joe Darcy wrote:
> The intention here is to be "mostly exhaustive" rather than "entirely
> exhaustive" in applying the annotation type so I'd prefer to defer
> updating generated exceptions to future work.
Okay, although all you need is:
$ hg diff make
diff -r e17f768b3b71 make/scripts/genExceptions.sh
--- a/make/scripts/genExceptions.sh Wed Aug 28 10:56:50 2019 -0400
+++ b/make/scripts/genExceptions.sh Wed Aug 28 17:22:10 2019 +0100
@@ -60,6 +60,7 @@
extends ${SUPER}
{
+ @java.io.Serial
private static final long serialVersionUID = $SVUID;
__END__
More information about the core-libs-dev
mailing list