<AWT Dev> RfR JDK-8077707 jdk9 b58 cannot run any graphical application with JAWS running

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Jul 24 15:05:20 UTC 2015

Looks fine.

On 23.07.15 2:53, Pete Brunet wrote:
> 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

Best regards, Sergey.

More information about the awt-dev mailing list