classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: japi fix for javax.sound.sampled


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: japi fix for javax.sound.sampled
Date: 14 Nov 2005 09:17:09 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I'm checking this in.

japi pointed out an error in my recent javax.sound.sampled patch.

There is one more error, involving LineEvent -- but in this case the
fix is not to add serialVersionUID, but to make the class throw an
exception if serialization is attempted.  I'm leaving this unfixed
for the time being.

Tom

2005-11-14  Tom Tromey  <address@hidden>

        * javax/sound/sampled/Line.java (open): Throws
        LineUnavailableException.

Index: javax/sound/sampled/Line.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/sound/sampled/Line.java,v
retrieving revision 1.1
diff -u -r1.1 Line.java
--- javax/sound/sampled/Line.java       13 Nov 2005 17:33:44 -0000      1.1
+++ javax/sound/sampled/Line.java       14 Nov 2005 15:18:57 -0000
@@ -136,8 +136,10 @@
 
   /**
    * Open this line.
+   * @throws LineUnavailableException if the line is unavailable for some
+   * reason
    */
-  void open();
+  void open() throws LineUnavailableException;
 
   /**
    * Remove the listener from this Line; after this call the listener will




reply via email to

[Prev in Thread] Current Thread [Next in Thread]