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

Fix for 8025429 breaks jdk build on windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b115
    • Verification:
      Verified

      Backports

        Description

        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'

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: