Dependency to the java.desktop JPMS module #47
Labels
Component: API
Affects the API and (by implication) the spec and all implementations
improvement
Jakarta EE 11
Priority: Major
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.The text was updated successfully, but these errors were encountered: