src/java.base/share/classes/java/security/CodeSigner.java
changeset 57950 4612a3cfb927
parent 47216 71c04702a3d5
--- a/src/java.base/share/classes/java/security/CodeSigner.java	Thu Aug 29 10:09:27 2019 -0700
+++ b/src/java.base/share/classes/java/security/CodeSigner.java	Thu Aug 29 10:52:21 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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
@@ -38,6 +38,7 @@
 
 public final class CodeSigner implements Serializable {
 
+    @java.io.Serial
     private static final long serialVersionUID = 6819288105193937581L;
 
     /**
@@ -165,6 +166,7 @@
     }
 
     // Explicitly reset hash code value to -1
+    @java.io.Serial
     private void readObject(ObjectInputStream ois)
         throws IOException, ClassNotFoundException {
      ois.defaultReadObject();