I am trying to call a specific Java class from policy and one of the
parameters must be a of type string array. (I did try null and empty
string but they were not accepted)

I could do this from ECMAScript (and might still) but was thinking this
was only a couple of lines and likely just as easy to do from policy.

What I came up with to create a string array with zero elements was the
following. Anyone got a better/simpler mechanism?

<do-set-local-variable name="nullStrArray" scope="policy">
expression="java.lang.reflect.Array:newInstance(ja va.lang.Class:forName(