Please review this patch which cures a problem that appears since 9 b58
when the compiler was switched to VS2013 and as a result turned on the
High Entropy Virtual Addresses bit in the executable header when running
on Win 8.1. 

With the high-entropy 64-bit address space layout randomization option
enabled, all memory addresses in a 64-bit app are guaranteed to be above
4gb. This means that if any module has latent pointer truncation issues
in 64-bit builds, these issues will manifest themselves when this flag
is set.

The fix is to change the wparam type from UINT to WPARAM and the lparam
type from LONG to LPARAM.

Using UINT/LONG would cause truncation in the upper 32 bits of
wparam/lparam.

http://cr.openjdk.java.net/~ptbrunet/JDK-8077707/webrev.00/

Thanks, Pete

Reply via email to