Degradation of aromatic polyimides at high temperatures