Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR bumps the version of the CQL translator from
3.3.2
to3.7.1
. Thanks @elsaperelli for the initial pointersSummary of changes:
javax.*
tojakarta.*
Accordingly, references within the code have to be updated as well. See changes to imports on most.java
filesjavax
namespace, such as XML binding and webservices, was originally part of "Java EE" (Enterprise Edition) which was run by Oracle. Eventually Oracle transferred this to the Eclipse Foundation but without allowing them to use the samejavax
namespace. Frustration ensues)javax.*
imports were updated. For example seeTranslationResourceTest.java
- thejavax.xml.*
imports were not changed. Why? Because these are part of "Java SE" (Standard Edition) and there is no jakarta version of these. https://stackoverflow.com/a/76364735javax
versions of migrated classes may still exist, so missing an update wouldn't necessarily result in a compilation failure, it could produce weird results. (For example, I originally missed updatingFormatFailureException.java
and most things worked but the error page renderer would return an HTML page instead of the plain text error message in one of the unit tests. Fun to debug.) Please fully test all capabilities to make sure nothing else was missedjaxb-runtime
was updated to a version that supports Jakartajakarta.validation-api
andjakarta.xml.bind-api
Also note: the Eclipse compiler complains because the
xpp3
dependency includes a class in thejavax.xml.namespace
package, which duplicates a core java package and is no longer allowed. It shouldn't be a blocker since that dependency has been there for a while, but if you use Eclipse and see an error along those lines, that's why.