Index: applications/editors/josm/plugins/javafx/src/org/openstreetmap/josm/plugins/javafx/io/audio/JavaFxMediaPlayer.java
===================================================================
--- applications/editors/josm/plugins/javafx/src/org/openstreetmap/josm/plugins/javafx/io/audio/JavaFxMediaPlayer.java	(revision 36085)
+++ applications/editors/josm/plugins/javafx/src/org/openstreetmap/josm/plugins/javafx/io/audio/JavaFxMediaPlayer.java	(revision 36086)
@@ -40,8 +40,13 @@
     private MediaPlayer mediaPlayer;
 
-    JavaFxMediaPlayer() {
+    /**
+     * Create a new {@link JavaFxMediaPlayer}.
+     * This must be public in order for the object creation through reflection to succeed.
+     */
+    public JavaFxMediaPlayer() {
         try {
             initFxPlatform();
         } catch (InterruptedException e) {
+            Thread.currentThread().interrupt();
             throw new JosmRuntimeException(e);
         }
