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

Windows build fails after the fix for 8025280

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • client-libs
    • 2d
    • b112
    • Verified

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: