JDK-8145602 : [macosx] Remove QTKit based media player
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u152,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2015-12-16
  • Updated: 2021-12-21
  • Resolved: 2016-01-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u171Fixed 9Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
It's time to remove QTKMediaPlayer:

- Apple has been trying to get developers to move off of QTKit for several years, we need to comply.

- QTKMediaPlayer has been replaced by AVFMediaPlayer which is more stable, far more capable and is allowed in applications destined for Mac App Store distribution.

- The system requirements for Java 9 are such that we no longer need the QTKit based player. It was only kept around in Java 8 after JEP 206 (8u40) because we had to continue support for 10.7.


Since we now build with a later SDK, we can also remove the messy workarounds in AVFMediaPlayer to get it to compile with the 10.7 SDK.

Comments
+1
08-12-2017

Webrev for 8u backport for review: http://cr.openjdk.java.net/~kcr/8145602/8u/webrev.00/
08-12-2017

I am requesting to backport the fix for this issue to 8u to remove this legacy code. It is only needed when running on OS X 10.7 (and maybe 10.8 in some cases). As part of the 605.1 WebKit upgrade -- JDK-8187483 -- which was fixed in JDK 10 today, and is in the process of being backported to JDK 8u, we need to move to a newer version of Xcode and macOS. For FX 10 we have moved to macOS 10.12 and Xcode 9.1, and are targeting a minimum of macOS 10.10. We plan to use this same environment for FX 8u going forward. Without this fix we cannot complete the WebKit upgrade for 8u.
08-12-2017

changeset: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/5552d5deef84 user: ddehaven date: Wed Dec 16 16:13:47 2015 -0800 summary: 8145602: Remove QTKit based media player
06-01-2016

Approved.
18-12-2015

Code review (pending the work Kevin is doing for JDK-8145604): http://cr.openjdk.java.net/~ddehaven/8145602/rt/v0/
17-12-2015

We should bump the minimum SDK to 10.9 as well (it's currently 10.7 even though 10.9 is preferred and what we use for RE build machines).
16-12-2015

Seems like a very good idea.
16-12-2015