Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8252711 | 8u281 | Arun Joseph | P3 | Resolved | Fixed | b01 |
JDK-8256961 | jfx11.0.10 | Arun Joseph | P3 | Resolved | Fixed |
The WebKit build fails with a recent VS 2019 compiler. I tried VS 2019 16.7.1 and got the following failure:
modules\javafx.web\src\main\native\Source\WebCore\style/StyleResolver.cpp(110): error C2398: Element '1': conversion from 'const char [4]' to 'bool' requires a narrowing conversion
The line in question is:
m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
It should be using the MediaQueryEvaluator constructor that takes a String, but the conversion of char* to String is failing, so it is it picking the wrong Constructor.
modules\javafx.web\src\main\native\Source\WebCore\style/StyleResolver.cpp(110): error C2398: Element '1': conversion from 'const char [4]' to 'bool' requires a narrowing conversion
The line in question is:
m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
It should be using the MediaQueryEvaluator constructor that takes a String, but the conversion of char* to String is failing, so it is it picking the wrong Constructor.
- backported by
-
JDK-8252711 WebKit build fails with recent VS 2019 compiler
- Resolved
-
JDK-8256961 WebKit build fails with recent VS 2019 compiler
- Resolved
- blocks
-
JDK-8252192 Update to Visual Studio 2019 version 16.7.2
- Resolved