Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
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
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