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

NSApplicationAWT.m:343:72: error: comparison of constant 777 with expression of type 'NSEventSubtype'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • client-libs
    • Mac OS X 10.10.3 with XCode 6.3.1

    • b76
    • os_x

    Backports

      Description

        /Volumes/Work/current/jdks/jdk9_test/jdk/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m:343:72: error: comparison of constant 777 with expression of type 'NSEventSubtype' (aka 'enum NSEventSubtype') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
            } else if ([event type] == NSApplicationDefined && [event subtype] == 777) {
                                                               ~~~~~~~~~~~~~~~ ^ ~~~
        1 error generated.

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                gziemski Gerard Ziemski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: