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

Build fails on Oracle Linux 7 with unused parameter warning

XMLWordPrintable

      Following the fox for JDK-8171330 we get the following compilation error on OL 7 which breaks the production builds:

      rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp:826:42: error: unused parameter 'window' [-Werror=unused-parameter]
       glass_window_apply_shape_mask(GdkWindow *window,
                                                ^
      rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp:827:11: error: unused parameter 'data' [-Werror=unused-parameter]
           void* data, uint width, uint height)
                 ^
      rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp:827:22: error: unused parameter 'width' [-Werror=unused-parameter]
           void* data, uint width, uint height)
                            ^
      rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp:827:34: error: unused parameter 'height' [-Werror=unused-parameter]
           void* data, uint width, uint height)
                                        ^

            ddhill David Hill (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: