< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/AbstractLine.java

Print this page
@@ -205,10 +205,11 @@
      }
  
      final EventDispatcher getEventDispatcher() {
          // create and start the global event thread
          //TODO  need a way to stop this thread when the engine is done
+         @SuppressWarnings("deprecation")
          final ThreadGroup tg = Thread.currentThread().getThreadGroup();
          synchronized (dispatchers) {
              EventDispatcher eventDispatcher = dispatchers.get(tg);
              if (eventDispatcher == null) {
                  eventDispatcher = new EventDispatcher();
< prev index next >