show warning only if verbose is set; no ways to suppress it on JRuby