Skip to content

Conversation

@felixbarny
Copy link
Member

No description provided.

@felixbarny felixbarny requested a review from eyalkoren June 12, 2019 15:11
@felixbarny felixbarny self-assigned this Jun 12, 2019
//noinspection CharsetObjectCanBeUsed - can't use this API as it is from Java 10 only
jarFile = new JarFile(URLDecoder.decode(jarUrl.getFile(), "UTF-8"));
}
jarFile = new JarFile(new File(jarUrl.toURI()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂ That easy? Nice. Very elegant.

@felixbarny felixbarny merged commit aec88b8 into elastic:master Jun 13, 2019
@felixbarny felixbarny deleted the fix-jar-file-ecoding branch June 13, 2019 06:57
@SylvainJuge SylvainJuge added bug Bugs and removed type: bug labels Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants