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

aamarsh duke at openjdk.java.net
Wed Jan 26 18:16:29 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 updated the pull request incrementally with one additional commit since the last revision:

  updated Copyright

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

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

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

  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