update java.m4 for more versatility
allow caller to get a null where no WWNDesc is found