[vlma-devel] commit: A runnable is not serializable. (Adrien Grand )

git version control git at videolan.org
Sun Jun 29 16:42:01 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Jun 29 15:59:46 2008 +0200| [5e5d5c78def758cbe9116a64bb4e0d2f315568ad]

A runnable is not serializable.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=5e5d5c78def758cbe9116a64bb4e0d2f315568ad
---

 .../watcher/DirectMulticastStreamWatcher.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vlma-model/src/main/java/org/videolan/vlma/model/watcher/DirectMulticastStreamWatcher.java b/vlma-model/src/main/java/org/videolan/vlma/model/watcher/DirectMulticastStreamWatcher.java
index 1e8e0ef..f9bb5d9 100644
--- a/vlma-model/src/main/java/org/videolan/vlma/model/watcher/DirectMulticastStreamWatcher.java
+++ b/vlma-model/src/main/java/org/videolan/vlma/model/watcher/DirectMulticastStreamWatcher.java
@@ -127,7 +127,7 @@ public class DirectMulticastStreamWatcher implements StreamWatcher, Serializable
      * This wait WAIT_SPAN miliseconds for the multicast socket to receive some
      * data
      */
-    Runnable waiter = new Runnable() {
+    private transient Runnable waiter = new Runnable() {
         public void run() {
             /* We start waiting */
             try {



More information about the vlma-devel mailing list