You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
The rules for matching package names needs to be reviewed.
The question is to require exact whole package matches, or to allow prefix matching.
For example, currently, "javax.servlet" matches "javax.servlet" but not "prefixjavax.servlet",
"prefix.javax.servlet", "javax.servletsuffix", or "javax.servlet.suffix".
This might be widened to enable matching against "prefix.javax.servlet" and "javax.servlet.suffix".
However, the case of "javax.transaction.xa" is a problem. "javax.transaction" was renamed within Jakarta EE 9, but "javax.transaction.xa" was not renamed. Any prefix and suffix matching which is added must provide settings which disallow the transaction case.
That is, if "javax.transaction" is allowed to match "javax.transaction.suffix", it must be disallowed at the same time from matching "javax.transaction.xa".
The text was updated successfully, but these errors were encountered:
Exact matching is simple and fast, but more choice may be needed some times. So we could support a regex choice. For example, if the string starts with / then we can consider it a regex/replacement pattern (sort of sed-like)
/javax\.foo(\..*)/jakarta.bar$1/
This would rename any package starting with javax.foo to a package starting with jakarta.bar.
The rules for matching package names needs to be reviewed.
The question is to require exact whole package matches, or to allow prefix matching.
For example, currently, "javax.servlet" matches "javax.servlet" but not "prefixjavax.servlet",
"prefix.javax.servlet", "javax.servletsuffix", or "javax.servlet.suffix".
This might be widened to enable matching against "prefix.javax.servlet" and "javax.servlet.suffix".
However, the case of "javax.transaction.xa" is a problem. "javax.transaction" was renamed within Jakarta EE 9, but "javax.transaction.xa" was not renamed. Any prefix and suffix matching which is added must provide settings which disallow the transaction case.
That is, if "javax.transaction" is allowed to match "javax.transaction.suffix", it must be disallowed at the same time from matching "javax.transaction.xa".
The text was updated successfully, but these errors were encountered: