[jdk17u-dev] RFR: 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits [v3]

aamarsh duke at openjdk.java.net
Thu Jan 27 16:55:25 UTC 2022


> Makes colorBits and maskBits dynamic variables to force allocation on the heap instead of the stack and avoid a stackoverflow. Also adds a test to confirm this stackoverflow is no longer happening.
> 
> Tier1 and the newly added test passes on Windows. Clean backport.

aamarsh has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains one commit:

  Backport 94127f43a4a28a89094fa93cd1da49763134f9db

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk17u-dev/pull/98/files
  - new: https://git.openjdk.java.net/jdk17u-dev/pull/98/files/d7bbe8dd..263b2917

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=98&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=98&range=01-02

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk17u-dev/pull/98.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u-dev pull/98/head:pull/98

PR: https://git.openjdk.java.net/jdk17u-dev/pull/98


More information about the jdk-updates-dev mailing list