add UDF acceptance: Java/JRuby