JDK-8246223 : Windows build fails after JDK-8227269
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: openjdk8u262
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-01
  • Updated: 2020-06-09
  • Resolved: 2020-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjdk8u262 b06Fixed
Related Reports
Relates :  
Description
It seems after JDK-8227269, jdk8u-dev fails to build on Windows with MSVC 2013:

c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(90) : error C2143: syntax error : missing ';' before 'type'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(93) : error C2065: 'deleted' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(93) : warning C4047: 'return' : 'bag *' differs in levels of indirection from 'int'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(115) : error C2143: syntax error : missing ';' before 'type'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(116) : error C2065: 'signature' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(116) : warning C4047: 'function' : 'char **' differs in levels of indirection from 'int *'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(116) : warning C4024: 'classSignature' : different types for formal and actual parameter 2
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(120) : error C2065: 'signature' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(122) : error C2065: 'signature' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(122) : warning C4022: 'jvmtiDeallocate' : pointer mismatch for actual parameter 1
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(133) : error C2275: 'jvmtiError' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\build\windows-x86_64-normal-server-fastdebug\jdk\include\jvmti.h(388) : see declaration of 'jvmtiError'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(133) : error C2146: syntax error : missing ';' before identifier 'error'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(133) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(134) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(137) : error C2275: 'jvmtiEventCallbacks' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\build\windows-x86_64-normal-server-fastdebug\jdk\include\jvmti.h(997) : see declaration of 'jvmtiEventCallbacks'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(137) : error C2146: syntax error : missing ';' before identifier 'cb'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(137) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(138) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(138) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(139) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(139) : error C2224: left of '.ObjectFree' must have struct/union type
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(140) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(140) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(140) : warning C4133: 'function' : incompatible types - from 'int *' to 'const jvmtiEventCallbacks *'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(140) : error C2065: 'cb' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(141) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(144) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(145) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(169) : error C2275: 'jint' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\jdk\src\windows\javavm\export\jni_md.h(33) : see declaration of 'jint'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(169) : error C2146: syntax error : missing ';' before identifier 'classCount'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(169) : error C2065: 'classCount' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(170) : error C2275: 'jclass' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\build\windows-x86_64-normal-server-fastdebug\jdk\include\jni.h(102) : see declaration of 'jclass'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(170) : error C2065: 'classes' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(171) : error C2275: 'jvmtiError' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\build\windows-x86_64-normal-server-fastdebug\jdk\include\jvmti.h(388) : see declaration of 'jvmtiError'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(171) : error C2146: syntax error : missing ';' before identifier 'error'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(171) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(172) : error C2275: 'jint' : illegal use of this type as an expression
        c:\buildbot\worker\build-jdk8u-dev-windows\build\jdk\src\windows\javavm\export\jni_md.h(33) : see declaration of 'jint'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(172) : error C2146: syntax error : missing ';' before identifier 'i'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(172) : error C2065: 'i' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(174) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(174) : error C2065: 'classes' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(174) : warning C4047: 'function' : 'jclass **' differs in levels of indirection from 'int *'
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(174) : warning C4024: 'allLoadedClasses' : different types for formal and actual parameter 1
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(174) : error C2065: 'classCount' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(175) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(176) : error C2065: 'i' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(176) : error C2065: 'i' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(176) : error C2065: 'classCount' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(176) : error C2065: 'i' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(177) : error C2065: 'classes' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(177) : error C2065: 'i' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(177) : error C2109: subscript requires array or pointer type
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(185) : error C2065: 'classes' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(185) : warning C4022: 'jvmtiDeallocate' : pointer mismatch for actual parameter 1
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(187) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(187) : error C2065: 'error' : undeclared identifier
c:/buildbot/worker/build-jdk8u-dev-windows/build/jdk/src/share/back/classTrack.c(187) : error C2065: 'error' : undeclared identifier
Comments
URL: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/097f47e7fe97 User: andrew Date: 2020-06-07 17:55:42 +0000
07-06-2020

Critical Request (8u) Push to jdk8u/jdk8u requested because this patch fixes a build on Windows with vs2010 toolchain. 8u RFR: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-June/011880.html
04-06-2020

Sorry, I've missed this issue, will look into it.
03-06-2020

This definitely needs to be fixed for the 8u262 cycle or JDK-8227269 backed out again.
03-06-2020

Also, attention [~andrew].
01-06-2020

Alex, please take a look?
01-06-2020