Description
Post WELD-804, proxies generated in Glassfish may fail with a CNFE, if the proxy bean type is a java./javax. class.
Solution: instead of automatically assuming that the classloader of a given class must be used for proxy generation, use ProxyServices for deciding (the default implementation of ProxyServices will be modified to use the classloader of that particular class).