Windows build fails after the fix for 8025280

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8
    • Component/s: client-libs
    • 2d
    • b112
    • Verified

      MaskBlit.c
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(109) : error C2275: 'jint' : illegal use of this type as an expression
              c:\Vadim\jdk8_2d\jdk\src\windows\javavm\export\jni_md.h(33) : see declaration of 'jint'
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(109) : error C2146: syntax error : missing ';' before identifier 'savesx'
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(109) : error C2065: 'savesx' : undeclared identifier
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(110) : error C2275: 'jint' : illegal use of this type as an expression
              c:\Vadim\jdk8_2d\jdk\src\windows\javavm\export\jni_md.h(33) : see declaration of 'jint'
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(110) : error C2146: syntax error : missing ';' before identifier 'savedx'
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(110) : error C2065: 'savedx' : undeclared identifier
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(140) : error C2065: 'savesx' : undeclared identifier
      c:/Vadim/jdk8_2d/jdk/src/share/native/sun/java2d/loops/MaskBlit.c(141) : error C2065: 'savedx' : undeclared identifier
      make[2]: *** [/cygdrive/c/Vadim/jdk8_2d/build/windows-x86-normal-server-release/jdk/objs/libawt/MaskBlit.obj] Error 2

      It's C file, and variables must be declared in the beginning of the block, so that new if block should go after savesx and savedx declarations

            Assignee:
            Johnny Chen (Inactive)
            Reporter:
            Vadim Pakhnushev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: