Dont try the standard 9mm barrels in your 40 S&W pistol. There is .022 difference in the barrel diameter and breach face.
The good news: LWD offers 9mm conversions for the G35. See a few here http://bit.ly/nvxvfT
You can also use the 24-9 conversion. See them here http://bit.ly/n7duxR
FYI: The ported versions will not work because the ports do not line up with the sldie cut out on the 35