Palladium-catalyzed reaction of bromine- and iodine-containing isothiazoles with olefins