Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

java command: escape classpath entries in the pathing jar manifest #29

Merged
merged 1 commit into from Oct 17, 2017

Conversation

croes
Copy link
Contributor

@croes croes commented Oct 17, 2017

Hi,

I noticed that the java command fails when using long classpaths on windows, while the classpath also has entries that contain spaces.

The issue is that the manifest in the pathing jar uses space as a separator between classpath entries, and entries aren't URI-encoded. A classpath entry with a space in it is incorrectly treated as 2 entries.

PR is for an older revision, as we use buildr 1.4 internally. It should be easy enough to merge though, as it's a one-liner fix.

@croes
Copy link
Contributor Author

croes commented Oct 17, 2017

@asfgit asfgit merged commit b6520a7 into apache:master Oct 17, 2017
@realityforge
Copy link
Member

Thanks - fix merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants