test/jdk/java/util/zip/FlaterTest.java
changeset 58513 7605e97c9491
parent 49834 99644c75eaed
equal deleted inserted replaced
58512:5185bc8dcbb1 58513:7605e97c9491
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 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 6348045 6341887
    26  * @bug 6348045 6341887 8231770
    27  * @summary GZipOutputStream/InputStream goes critical(calls JNI_Get*Critical)
    27  * @summary GZipOutputStream/InputStream goes critical(calls JNI_Get*Critical)
    28  * and causes slowness.  This test uses Deflater and Inflater directly.
    28  * and causes slowness. This test uses Deflater and Inflater directly.
    29  * @key randomness
    29  * @key randomness
       
    30  * @run main/othervm -Xcheck:jni FlaterTest
    30  */
    31  */
    31 
    32 
    32 import java.nio.*;
    33 import java.nio.*;
    33 import java.util.*;
    34 import java.util.*;
    34 import java.util.zip.*;
    35 import java.util.zip.*;