src/share/classes/javax/sound/sampled/Line.java

Print this page

        

@@ -68,11 +68,11 @@
  * @author Kara Kytle
  *
  * @see LineEvent
  * @since 1.3
  */
-public interface Line {
+public interface Line extends AutoCloseable {
 
     /**
      * Obtains the <code>Line.Info</code> object describing this
      * line.
      * @return description of the line