Made colorBits and maskBits arraus dynamic so they allocated on heap instead of 
stack.
Added regression test.

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

Commit messages:
 - A8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits

Changes: https://git.openjdk.java.net/jdk18/pull/12/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=12&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/jdk18/pull/12.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/12/head:pull/12

PR: https://git.openjdk.java.net/jdk18/pull/12

Reply via email to