A method of making a polyimide comprising the steps of:(a) condensing an etheranhydride with a diamine, the etheranhydride having the formula: ##STR44## wherein Ar is aryl and w is an integer greater than or equal to 3; and (b) adding a dianhydride and crosslinkable amine end cap to the condensation product of step (a) under an inert atmosphere. 9.