test/jdk/java/security/KeyPairGenerator/FinalizeHalf.java
changeset 54639 2cac7d48db4c
parent 47216 71c04702a3d5
equal deleted inserted replaced
54638:9b8926bf85c1 54639:2cac7d48db4c
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, 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.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug 8163896
    26  * @bug 8163896 8223003
    27  * @summary Finalizing one key of a KeyPair invalidates the other key
    27  * @summary Finalizing one key of a KeyPair invalidates the other key
    28  */
    28  */
    29 
    29 
    30 import java.security.Key;
    30 import java.security.Key;
    31 import java.security.KeyPair;
    31 import java.security.KeyPair;