changeset 57774:1262b3ddd7e4

8230373: Use java.io.Serial in generated exception types Reviewed-by: erikj, alanb
author darcy
date Sat, 31 Aug 2019 09:18:40 -0700
parents e9a0224b45a1
children a333fdeb8de0
files make/scripts/genExceptions.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/scripts/genExceptions.sh	Fri Aug 30 15:36:44 2019 -0400
+++ b/make/scripts/genExceptions.sh	Sat Aug 31 09:18:40 2019 -0700
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2000, 2019, 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
@@ -60,6 +60,7 @@
     extends ${SUPER}
 {
 
+    @java.io.Serial
     private static final long serialVersionUID = $SVUID;
 __END__