JDK-8222217 : FX build fails on 32-bit Windows after fix for JDK-8133841
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u231,openjfx13
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-04-09
  • Updated: 2020-04-28
  • Resolved: 2019-04-09
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 Other
8u221Fixed openjfx11.0.4Fixed
Related Reports
Relates :  
FX fails to build on 32-bit Windows after the fix for JDK-8133841 with the followig error:

...\src\main\native\gstreamer\plugins\dshowwrapper\Sink.h(90): error C2695: 'CInputPin::ReceiveConnection': overriding virtual function differs from 'CBasePin::ReceiveConnection' only by calling convention

This was discovered while backporting JDK-8133841 to JDK 8.

In case someone still wants to build openjfx13, it should be fixed in jfx-dev and then backported to JDK 8.


http://cr.openjdk.java.net/~almatvee/8222217/webrev.00/ - Fixed 32-bit build failure by changing STDMETHODIMP to HRESULT.

The solution may be as simple as changing the return type of the overridden method to match the superclass: - HRESULT ReceiveConnection(IPin *pConnector, const AM_MEDIA_TYPE *pmt); + STDMETHODIMP ReceiveConnection(IPin *pConnector, const AM_MEDIA_TYPE *pmt);