A method for producing a silicone hydrogel contact lens having a crosslinked hydrophilic coating thereon, comprising the steps of: (a) obtaining a silicone hydrogel contact lens; (b) applying a layer of carboxyl-containing polymeric material onto the silicone hydrogel contact lens; (c) placing the silicone hydrogel contact lens with the layer of carboxyl-containing polymeric material thereon into a lens package containing a packaging solution, wherein the packaging solution comprises one or more crosslinkable hydrophilic polymeric materials selected from the group consisting of (i) a water-soluble hydrophilic polymer polymeric material having epoxide groups, wherein the hydrophilic polymeric material is partial reaction product of a first multi-arm polyethyleneglycol having terminal epoxide groups and a first hydrophilicity-enhancing agent having at least one reactive functional group selected from the group consisting of amino group, carboxyl group, hydroxyl group, thiol group, and combination thereof, (ii) a second multi-arm polyethyleneglycol having terminal epoxide groups, (iii) a mixture of a third multi-arm polyethyleneglycol having terminal epoxide groups and a second hydrophilicity-enhancing agent having at least one reactive functional group selected from the group consisting of amino group, carboxyl group, hydroxyl group, thiol group, and combination thereof, and (iv) a combination thereof; (d) sealing the package; (e) autoclaving the sealed package with the silicone hydrogel contact lens therein at a temperature from 115°C to 125°C for at least twenty minutes, thereby forming a non-silicone hydrogel coating on the silicone hydrogel contact less, wherein the non-silicone hydrogel coating is a crosslinked polymeric material composed of the carboxyl-containing polymeric material crosslinked with the one or more crosslinkable hydrophilic polymeric materials. (a) obtaining a silicone hydrogel contact lens; (b) applying a layer of carboxyl-containing polymeric material onto the silicone hydrogel contact lens; (c) placing the silicone hydrogel contact lens with the layer of carboxyl-containing polymeric material thereon into a lens package containing a packaging solution, wherein the packaging solution comprises one or more crosslinkable hydrophilic polymeric materials selected from the group consisting of (i) a water-soluble hydrophilic polymer polymeric material having epoxide groups, wherein the hydrophilic polymeric material is partial reaction product of a first multi-arm polyethyleneglycol having terminal epoxide groups and a first hydrophilicity-enhancing agent having at least one reactive functional group selected from the group consisting of amino group, carboxyl group, hydroxyl group, thiol group, and combination thereof, (ii) a second multi-arm polyethyleneglycol having terminal epoxide groups, (iii) a mixture of a third multi-arm polyethyleneglycol having terminal epoxide groups and a second hydrophilicity-enhancing agent having at least one reactive functional group selected from the group consisting of amino group, carboxyl group, hydroxyl group, thiol group, and combination thereof, and (iv) a combination thereof; (d) sealing the package; (e) autoclaving the sealed package with the silicone hydrogel contact lens therein at a temperature from 115°C to 125°C for at least twenty minutes, thereby forming a non-silicone hydrogel coating on the silicone hydrogel contact less, wherein the non-silicone hydrogel coating is a crosslinked polymeric material composed of the carboxyl-containing polymeric material crosslinked with the one or more crosslinkable hydrophilic polymeric materials.