Merge "Support java compilation sharding for target side."