(this bug can be a duplicate of 7009361)
Test java/dyn/InvokeDynamicPrintArgs.java fails with NullPointerException when started on solaris-sparc (32/64) with -Xcomp option:
Printing some argument lists, starting with a empty one:
[InvokeDynamicPrintArgs, nothing, ()void][]
java.lang.NullPointerException
at InvokeDynamicPrintArgs.main(InvokeDynamicPrintArgs.java:47)
Most probably, NullPointerException is thrown after call to the BSM (I tried to add debug prints). Also I tried to invoke target method right in the BSM and it was executed normally.