equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 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 |
32 import java.util.List; |
32 import java.util.List; |
33 import java.util.Objects; |
33 import java.util.Objects; |
34 import java.util.Optional; |
34 import java.util.Optional; |
35 import java.util.function.Function; |
35 import java.util.function.Function; |
36 |
36 |
37 import jdk.internal.misc.SharedSecrets; |
37 import jdk.internal.access.SharedSecrets; |
38 |
38 |
39 /** |
39 /** |
40 * Filter classes, array lengths, and graph metrics during deserialization. |
40 * Filter classes, array lengths, and graph metrics during deserialization. |
41 * |
41 * |
42 * <p><strong>Warning: Deserialization of untrusted data is inherently dangerous |
42 * <p><strong>Warning: Deserialization of untrusted data is inherently dangerous |