equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
55 import java.util.concurrent.ConcurrentMap; |
55 import java.util.concurrent.ConcurrentMap; |
56 import jdk.internal.misc.Unsafe; |
56 import jdk.internal.misc.Unsafe; |
57 import jdk.internal.reflect.CallerSensitive; |
57 import jdk.internal.reflect.CallerSensitive; |
58 import jdk.internal.reflect.Reflection; |
58 import jdk.internal.reflect.Reflection; |
59 import jdk.internal.reflect.ReflectionFactory; |
59 import jdk.internal.reflect.ReflectionFactory; |
|
60 import jdk.internal.access.SharedSecrets; |
|
61 import jdk.internal.access.JavaSecurityAccess; |
60 import sun.reflect.misc.ReflectUtil; |
62 import sun.reflect.misc.ReflectUtil; |
61 import jdk.internal.misc.SharedSecrets; |
|
62 import jdk.internal.misc.JavaSecurityAccess; |
|
63 import static java.io.ObjectStreamField.*; |
63 import static java.io.ObjectStreamField.*; |
64 |
64 |
65 /** |
65 /** |
66 * Serialization's descriptor for classes. It contains the name and |
66 * Serialization's descriptor for classes. It contains the name and |
67 * serialVersionUID of the class. The ObjectStreamClass for a specific class |
67 * serialVersionUID of the class. The ObjectStreamClass for a specific class |