Question: are glock barrels interchangeable between generations?
Answer: So far as I know, barrels will interchange between Gen 1-4 for all calibers. Since the Gen 5 guns are all 9mm, the G17 is the first that isn't backwards compatible because it is essentially a long G19 barrel.