--- a/src/java.base/share/classes/java/util/Date.java Thu Aug 29 18:52:30 2019 -0400
+++ b/src/java.base/share/classes/java/util/Date.java Thu Aug 29 16:31:34 2019 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 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
@@ -154,6 +154,7 @@
* interoperability with JDK1.1. The Date was modified to write
* and read only the UTC time.
*/
+ @java.io.Serial
private static final long serialVersionUID = 7523967970034938905L;
/**
@@ -1318,6 +1319,7 @@
* is emitted (long). This represents the offset from
* January 1, 1970, 00:00:00 GMT in milliseconds.
*/
+ @java.io.Serial
private void writeObject(ObjectOutputStream s)
throws IOException
{
@@ -1328,6 +1330,7 @@
/**
* Reconstitute this object from a stream (i.e., deserialize it).
*/
+ @java.io.Serial
private void readObject(ObjectInputStream s)
throws IOException, ClassNotFoundException
{