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

Fix for 8025429 breaks jdk build on windows

XMLWordPrintable

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

        Fix for 8025429 causes following compilation errors on windows:

        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(668) : error C2275: 'jclass' : illegal use of this type as an expression
                g:\work\jdk_ws\2d\build\windows-i586\jdk\include\jni.h(102) : see declaration of 'jclass'
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(668) : error C2146: syntax error : missing ';' before identifier 'clsLcmsProfile'
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(668) : error C2065: 'clsLcmsProfile' : undeclared identifier
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(669) : warning C4047: '=' : 'int' differs in levels of indirection from 'jclass'
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(670) : error C2065: 'clsLcmsProfile' : undeclared identifier
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(670) : warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(674) : error C2275: 'jobject' : illegal use of this type as an expression
                g:\work\jdk_ws\2d\build\windows-i586\jdk\include\jni.h(101) : see declaration of 'jobject'
        g:/work/jdk_ws/2d/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c(674) : error C2146: syntax error : missing ';' before identifier 'cmmProfile'

              bae Andrew Brygin
              bae Andrew Brygin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: