Question: are all glock barrels interchangeable?
Answer: With the Gen 5 G17, Glock has changed the barrel locking block to the G19 style small block. Therefore Gen 5 G17 barrels are compatible with G19s of all generations, but are not backwards compatible to other generations of G17. Likewise, a G19L barrel will fit a G17 Gen 5.