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

Philip Race philip.race at oracle.com
Fri Mar 16 05:55:22 UTC 2018


Looks OK .. can you confirm this builds without issue with VS2013 as 
well, and that some
AWT tests that use the components touched are OK ?

-phil

On 3/15/18, 10:29 PM, Sergey Bylokhov wrote:
> 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
>


More information about the awt-dev mailing list