java first-class
Revert "java first-class"

This reverts commit 45397c041ec2165c18013bed6785f20b6e40c0c1.
Revert "Revert "java first-class""

This reverts commit 9997454139d0f195957920bcd6f15aeb793c080a.
update java first-class

modify encode