Merge "Fix an error of SharedFilter in JNI" into main