8230373: Use java.io.Serial in generated exception types
Reviewed-by: erikj, alanb
This commit is contained in:
Родитель
a72d25fcc7
Коммит
2399a8d764
|
@ -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 @@ public `if [ ${ABSTRACT:-0} = 1 ];
|
|||
extends ${SUPER}
|
||||
{
|
||||
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = $SVUID;
|
||||
__END__
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче