-
Bug
-
Resolution: Fixed
-
P4
-
11
-
b17
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8204750 | 11.0.1 | Sergey Bylokhov | P4 | Resolved | Fixed | team |
There are a number of warnings (treated as errors) when building libawt with VS2017. These should be investigated and addressed. Examples include:
src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp(959): error C2220: warning treated as error - no 'object' file generated
src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp(959): warning C4291: 'void *operator new[](::size_t,const char *,int)': no matching operator delete found; memory will not be freed if initialization throws an exception
src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp(3144): warning C4311: 'type cast': pointer truncation from 'HINSTANCE' to 'int'
src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp(3144): warning C4302: 'type cast': truncation from 'HINSTANCE' to 'int'
src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp(959): error C2220: warning treated as error - no 'object' file generated
src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp(959): warning C4291: 'void *operator new[](::size_t,const char *,int)': no matching operator delete found; memory will not be freed if initialization throws an exception
src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp(3144): warning C4311: 'type cast': pointer truncation from 'HINSTANCE' to 'int'
src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp(3144): warning C4302: 'type cast': truncation from 'HINSTANCE' to 'int'
- backported by
-
JDK-8204750 Address compilation warnings in libawt with VS2017
- Resolved
- relates to
-
JDK-8202052 Disable warnings when building libawt with VS2017
- Resolved