<AWT Dev> [11] Review Request: 8198895 Compilation errors in java.desktop with VS 2017

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Mar 16 05:29:30 UTC 2018


Hello.
Please review fix for jdk11.

Bug: https://bugs.openjdk.java.net/browse/JDK-8198895
Webrev can be found at: http://cr.openjdk.java.net/~serb/8198895/webrev.01

VS2017 produces the warnings when we use casts some integral types to 
pointers or use casts of pointers to types.
The fix simply suppress such warnings using the intermediate casts to 
intptr_t(same approach as in JDK-8196884[1])

[1] https://bugs.openjdk.java.net/browse/JDK-8196884

-- 
Best regards, Sergey.


More information about the awt-dev mailing list