Same issue as CLJ-2284, but the committed fix didn't handle the primitive path.
Proposed: Handle both primitive and non-primitive cases by making a more generic static initialization in asm, rather than the convenience gen.invokeStatic() call.
Screened by: Alex Miller
Added clj-2517-2.patch which just changes spaces to tabs in the Compiler change to reduce whitespace diffs. No semantic changes, attribution retained.
Bump. Ran hard into this today, basically retraced all steps from discovering 2284, fixing the bug in emitUnboxed, and only then finding this ticket. It would be nice if this is included in 1.11, for now we have to run a fork to upgrade to JDK11.
It's at the top of the pile, so for sure.
Applied for 1.10.2