fixed problems in Java signature generation
Merge pull request #1261 from twobraids/java-addr-fix

fixes Bug 865142 - all hex addresses to be replaced with <addr>