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
When the Validation TCK base test adds a few lib dependencies to the web archive, if the dependency path contains escapable symbols, e.g. @, the TCK will fail to find an actual jar, resulting in an entire TCK failing.
CodeSource#getLocation(), which is used to obtain the path to the added lib returns an URL that keeps the escaped symbols in the path.
The suggestion is to resolve the path by converting the URL to URI.
In particular, this can happen on CI where the jars are located in a directory with paths similar to /var/lib/jenkins/workspace/hibernate-validator_smth@tmp
When the Validation TCK base test adds a few lib dependencies to the web archive, if the dependency path contains escapable symbols, e.g.
@
, the TCK will fail to find an actual jar, resulting in an entire TCK failing.CodeSource#getLocation()
, which is used to obtain the path to the added lib returns an URL that keeps the escaped symbols in the path.The suggestion is to resolve the path by converting the URL to URI.
In particular, this can happen on CI where the jars are located in a directory with paths similar to
/var/lib/jenkins/workspace/hibernate-validator_smth@tmp
See also jakartaee/validation-tck#198 (comment) for the patch.
The text was updated successfully, but these errors were encountered: