jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/TestGetSoundbankInputStream2.java
changeset 31448 1066345d2a8a
parent 23010 6dadb192ad81
equal deleted inserted replaced
31447:a5d56b872e3a 31448:1066345d2a8a
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2015, 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 /* @test
    24 /* @test
    25  @summary Test DLSSoundbankReader getSoundbank(InputStream) method using
    25  @summary Test DLSSoundbankReader getSoundbank(InputStream) method using
    26      very bad InputStream which can only read 1 byte at time */
    26      very bad InputStream which can only read 1 byte at time
       
    27  @modules java.desktop/com.sun.media.sound
       
    28 */
    27 
    29 
    28 import java.io.BufferedInputStream;
    30 import java.io.BufferedInputStream;
    29 import java.io.File;
    31 import java.io.File;
    30 import java.io.FileInputStream;
    32 import java.io.FileInputStream;
    31 import java.io.IOException;
    33 import java.io.IOException;