Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129008

AudioClip does not report correct error for inaccessible media

    Details

      Description

      If one runs the Fish app with the network disconnected one gets

           [java] Exception in Application start method
           [java] MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: could not connect to media (http://reavers.us.oracle.com/fish/water-splash-2.aiff) : com.sun.media.jfxmedia.MediaException: could not connect to media (http://reavers.us.oracle.com/fish/water-splash-2.aiff)
           [java] at javafx.scene.media.AudioClip.<init>(AudioClip.java:59)

      Ideally the exception type should be MEDIA_INACCESSIBLE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                bpb Brian Burkhalter
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: