Look like this:
=== Output from failing command(s) repeated here ===
* For target support_test_jdk_jtreg_native_support_libAsyncInvokers_libAsyncInvokers.obj:
libAsyncInvokers.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
* For target support_test_jdk_jtreg_native_support_libLinkerInvokerModule_libLinkerInvokerModule.obj:
libLinkerInvokerModule.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
* For target support_test_jdk_jtreg_native_support_libLinkerInvokerUnnamed_libLinkerInvokerUnnamed.obj:
libLinkerInvokerUnnamed.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
The file was added byJDK-8290059, and the code that fails the compilation is under #ifdef _WIN32, and it only (?) gets compiled for tests.
=== Output from failing command(s) repeated here ===
* For target support_test_jdk_jtreg_native_support_libAsyncInvokers_libAsyncInvokers.obj:
libAsyncInvokers.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
* For target support_test_jdk_jtreg_native_support_libLinkerInvokerModule_libLinkerInvokerModule.obj:
libLinkerInvokerModule.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
* For target support_test_jdk_jtreg_native_support_libLinkerInvokerUnnamed_libLinkerInvokerUnnamed.obj:
libLinkerInvokerUnnamed.cpp
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
... (rest of output omitted)
The file was added by
- relates to
-
JDK-8290059 Do not use std::thread in panama tests
-
- Resolved
-