cdi
cdi copied to clipboard
Inconsistency in package imports for EL
Describe the bug
- cdi-api.jar imports jakarta.el at version 5.0
- cdi-el-api.jar imports jakarta.el at version 6.0
For a package import, the version is a range and so 5.0
here means "5.0
or above" so both ranges do allow version 6.0 to be used.
Expected behavior I had expected the two jars to match. There may be some reason I'm not aware of for doing it this way, or it could be an oversight.