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

[test] Ensemble cannot play AudioClip files when running in Java 8 and hosted over http

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u121, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        When the Ensemble8 jar file is placed online and launched via Java Web Start, the AudioClip and 3D Xylophone samples don't play any sounds. This appears to be a bug in Java 8 that has been fixed in Java 9. A workaround is to check for the clip files in a resources directory next to the jar file and use those if found, otherwise fall back on the current method of using Class.getResource().

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ddehaven David Dehaven (Inactive)
                  Reporter:
                  ddehaven David Dehaven (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: