Skip to content

Revise JAXB and javax dependencies in ShardingSphere#16863

Merged
tristaZero merged 9 commits into
apache:masterfrom
TeslaCN:16848
Apr 15, 2022
Merged

Revise JAXB and javax dependencies in ShardingSphere#16863
tristaZero merged 9 commits into
apache:masterfrom
TeslaCN:16848

Conversation

@TeslaCN

@TeslaCN TeslaCN commented Apr 15, 2022

Copy link
Copy Markdown
Member

Fixes #16848.

If we package release by JDK 11 or higher version, the JAXB and javax dependencies will be included into distribution tarball of Proxy, but the licenses of dependencies are missed in Proxy.

We could replace javax.xml.bind.DatatypeConverter with java.util.Base64 in AESEncryptAlgorithm. Related to #10830.
The performance of java.util.Base64 is similar to javax.xml.bind.DatatypeConverter. Refer to:

@TeslaCN TeslaCN added the type: dependencies Pull requests that update a dependency file label Apr 15, 2022
@TeslaCN TeslaCN added this to the 5.1.2 milestone Apr 15, 2022
@TeslaCN TeslaCN marked this pull request as ready for review April 15, 2022 10:13
@tristaZero tristaZero merged commit 1e65f65 into apache:master Apr 15, 2022
@TeslaCN TeslaCN deleted the 16848 branch April 15, 2022 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.lang.ClassNotFoundException occurred when using AES encryption or Narayana in Java 11 or 17

2 participants