emit_java.c: in the previous implementation, it was legal for a variable length array to be null if its length was zero.  When the arraycopy optimization was added, a null array would cause a NullPointerException. This patch restores the previous behavior.
emit_java.c: in the previous implementation, it was legal for a variable length array to be null if its length was zero. 
When the arraycopy optimization was added, a null array would cause a NullPointerException. This patch restores the
previous behavior.



git-svn-id: ddc8cd1199829c18fa5932f18135ba8f687fc5aa@487 989093bb-e83e-0410-a25a-9184cbcad8d0

tprk77/lcm-tprk77,tprk77/lcm-tprk77,tprk77/lcm-tprk77,tprk77/lcm-tprk77,tprk77/lcm-tprk77,tprk77/lcm-tprk77,tprk77/lcm-tprk77