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

MediaView.setMediaPlayer() does not clear references to any previously set MediaPlayer

    XMLWordPrintable

    Details

      Description

      The mediaPlayerProperty invalidated() method only adds listeners to the new MediaPlayer but does not remove them from the old MediaPlayer as get() in both if-blocks always returns the new value of the property. Hence the listeners are not removed from the former Media or MediaPlayer objects.

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: