Skip to content

Only Compatible with Java 8 #1

Description

@chandrewz

I had this working locally when I ran Java 8, but noticed the library failing when I moved over code to machines on Java 7.

I had to replace Base 64:

html = Base64.getEncoder().encodeToString(html.getBytes());

withDatatypeConverter:

html = DatatypeConverter.printBase64Binary(html.getBytes());

Perhaps an issue, or just a tip for whomever may use this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions