Made colorBits and maskBits arrays dynamic so they are allocated on heap instead of stack. Added regression test.
------------- Commit messages: - 8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits Changes: https://git.openjdk.java.net/jdk/pull/6473/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6473&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8277299 Stats: 45 lines in 2 files changed: 43 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/6473.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6473/head:pull/6473 PR: https://git.openjdk.java.net/jdk/pull/6473