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

Fix ByteBuffer errors to be compatible with Java 8 runtimes #937

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

JoeJoe1989
Copy link
Contributor

@JoeJoe1989 JoeJoe1989 commented Sep 27, 2023

Background

The root cause is that, after compiling ResLi in Java 11, the new Java 11 implementation was preferred over the Java 8 implementation. However, since the new implementation was introduced after Java 8, a NoSuchMethodError occurred for Java 8 consumers. To resolve the issue, we chose an implementation that exists in both Java 8 and Java 11.

Changes

This PR will apply the same fix to URIDecoderUtils.java as was done in the prior PR to URIDecoderUtils.java.

Tests Done

Followed the instructions provided by the team who reported the issue and tested locally using curli command.

CHANGELOG.md Outdated Show resolved Hide resolved
@JoeJoe1989 JoeJoe1989 changed the title Fix ByteBuffer errors Fix ByteBuffer errors to be compatible with Java 8 runtimes Sep 27, 2023
@zackthehuman zackthehuman merged commit 1da9f81 into linkedin:master Sep 27, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants