Skip to content

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

@pjfanning

Description

@pjfanning

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions