-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11.0.21, 17.0.9, 21, 22
-
Component/s: client-libs
-
b08
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8318734 | 21.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b05 |
| JDK-8318802 | 17.0.10 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
At least GCC 6 fail the build with warnings-as-errors here:
```
../src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc: In function 'void _collect_layout_variation_indices(hb_subset_plan_t*)':
../src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc:389:83: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (unlikely (!plan->check_success (font = _get_hb_font_with_variations (plan)))) {
^
../src/java.desktop/share/native/libharfbuzz/hb.hh:259:46: note: in definition of macro 'unlikely'
#define unlikely(expr) (__builtin_expect (!!(expr), 0))
^~~~
```
This is caused by HarfBuzz update to 7.2.0,JDK-8307301
```
../src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc: In function 'void _collect_layout_variation_indices(hb_subset_plan_t*)':
../src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc:389:83: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (unlikely (!plan->check_success (font = _get_hb_font_with_variations (plan)))) {
^
../src/java.desktop/share/native/libharfbuzz/hb.hh:259:46: note: in definition of macro 'unlikely'
#define unlikely(expr) (__builtin_expect (!!(expr), 0))
^~~~
```
This is caused by HarfBuzz update to 7.2.0,
- backported by
-
JDK-8318734 New parentheses warnings after HarfBuzz 7.2.0 update
-
- Resolved
-
-
JDK-8318802 New parentheses warnings after HarfBuzz 7.2.0 update
-
- Resolved
-
- relates to
-
JDK-8307301 Update HarfBuzz to 7.2.0
-
- Resolved
-
- links to
-
Commit
openjdk/jdk17u-dev/73e47450
-
Commit
openjdk/jdk21u/2bf263d4
-
Commit
openjdk/jdk/ea067fc3
-
Review
openjdk/jdk17u-dev/1893
-
Review
openjdk/jdk21u/267
-
Review(master)
openjdk/jdk/14996
(4 links to)