mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8067127: Tags cleanup
Reviewed-by: rriggs, dfuchs, lancea
This commit is contained in:
parent
739347f093
commit
db3053dcd1
13 changed files with 37 additions and 37 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 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
|
||||
|
@ -35,7 +35,7 @@ import java.lang.annotation.*;
|
|||
* serialization-related declarations, analogous to the checking
|
||||
* enabled by the {@link java.lang.Override} annotation type to
|
||||
* validate method overriding. {@code Serializable} classes are encouraged to
|
||||
* use <code>@Serial</code> annotations to help a compiler catch
|
||||
* use {@code @Serial} annotations to help a compiler catch
|
||||
* mis-declared serialization-related fields and methods,
|
||||
* mis-declarations that may otherwise be difficult to detect.
|
||||
*
|
||||
|
@ -60,7 +60,7 @@ import java.lang.annotation.*;
|
|||
* </ul>
|
||||
*
|
||||
* Compilers are encouraged to validate that a method or field marked with a
|
||||
* <code>@Serial</code> annotation is one of the defined serialization-related
|
||||
* {@code @Serial} annotation is one of the defined serialization-related
|
||||
* methods or fields declared in a meaningful context and issue a warning
|
||||
* if that is not the case.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue