Closed glassfishrobot closed 1 year ago
My research so far has not found any significant uses of FeatureDescriptor
. Therefore, methods referencing FeatureDescriptor
will be deprecated for removal without replacement in 5.0 with the intention of removing them in 6.0. Should a use case these emerge later, we always have the option to re-evaluate this plan any time before the 6.0 release which I am currently expecting to be aligned with Jakarta EE 11.
Complete all we can for now. Remaining work needs to wait for Jakarta EE 11.
Note that there will also need to be some internal work to the BeanELResolver
to completely remove this dependency.
Hi,
So it's probably something that cannot be fixed easily but I thought you should be made aware of it.
The
ELResolver
abstract class depends onjava.beans.FeatureDescriptor
(and implementations are usingIntrospector#getBeanInfo()
) and unfortunately thejava.beans
package is part of thejava.desktop
module.Thus, if you use javax.el in a modularized environment, you will need the
java.desktop
module which is very unfortunate.In the long run, either
java.beans
should be extracted from thejava.desktop
module or we should try to remove the dependency to it.