Java signature with parameters

It's possible that this actually isn't broken on master because it would seem lots of people would hit this.  However, I had to put the following change into a patch to use a java_signature that took a parameter, and the test does fail until the fix is applied.

Let me know!