Modify accessibility check; it was muddled about Java vs JVM protection terminology. Reviewed-by: jrose