jdk/test/javax/sound/sampled/Clip/ClipCloseLoss.java
changeset 45249 e03e14fdc04b
parent 44656 72decb1e4935
child 47150 f70b20f6b3f2
equal deleted inserted replaced
45248:edcd6ce3f64e 45249:e03e14fdc04b
    34 /**
    34 /**
    35  * @test
    35  * @test
    36  * @bug 4946913
    36  * @bug 4946913
    37  * @summary DirectClip doesn't kill the thread correctly, sometimes
    37  * @summary DirectClip doesn't kill the thread correctly, sometimes
    38  * @run main/othervm ClipCloseLoss
    38  * @run main/othervm ClipCloseLoss
       
    39  * @key intermittent
    39  */
    40  */
    40 public class ClipCloseLoss {
    41 public class ClipCloseLoss {
    41     static int frameCount = 441000; // lets say 10 seconds
    42     static int frameCount = 441000; // lets say 10 seconds
    42     static AudioFormat format = new AudioFormat(44100.0f, 16, 2, true, false);
    43     static AudioFormat format = new AudioFormat(44100.0f, 16, 2, true, false);
    43     static ByteArrayInputStream bais =
    44     static ByteArrayInputStream bais =