[jdk17u-dev] RFR: 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits
aamarsh
duke at openjdk.java.net
Tue Jan 18 22:45:15 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.
-------------
Commit messages:
- Backport 94127f43a4a28a89094fa93cd1da49763134f9db
Changes: https://git.openjdk.java.net/jdk17u-dev/pull/98/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=98&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8277299
Stats: 83 lines in 2 files changed: 58 ins; 0 del; 25 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