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

Build failure on Mac OS 10.9.2 (Mavericks) due to warning treated as error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:
    • Environment:

      Mac OS 10.9.2.

    • Subcomponent:
    • Resolved In Build:
      b08
    • Verification:
      Not verified

      Description

      jdk9/dev/jdk/src/share/back/eventFilter.c:291:41: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
             return (major > 1 || major == 1 && minor >= 2);
                               ~~ ~~~~~~~~~~~^~~~~~~~~~~~~
      dev/jdk/src/share/back/eventFilter.c:291:41: note: place parentheses around the '&&' expression to silence this warning
             return (major > 1 || major == 1 && minor >= 2);
                                             ^
                                  ( )
      1 error generated.
      make[2]: *** [dk9/dev/build/macosx-x86_64-normal-server-fastdebug/jdk/objs/libjdwp/eventFilter.o] Error 1
      make[1]: *** [libs-only] Error 2
      make: *** [jdk-only] Error 2

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: