Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] remove use of sun.misc.BASE64Decoder #1411

Closed
1 of 2 tasks
Tracked by #1161
pjfanning opened this issue Feb 9, 2022 · 0 comments
Closed
1 of 2 tasks
Tracked by #1161

[Bug] remove use of sun.misc.BASE64Decoder #1411

pjfanning opened this issue Feb 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pjfanning
Copy link
Contributor

Search before asking

  • I searched the issues and found no similar issues.

Linkis Component

linkis-commons

What happened + What you expected to happen

[WARNING] /Users/pj.fanning/code/incubator-linkis/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/utils/DESUtil.java:29: warning: BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] import sun.misc.BASE64Decoder;

There are plenty of better support Base64 classes - eg

java.util.Base64.getDecoder().decode(encodedString);

Relevent platform

n/a

Reproduction script

n/a

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants