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

Pass process parameters by file #1275

Merged
merged 2 commits into from
Feb 4, 2025
Merged

Pass process parameters by file #1275

merged 2 commits into from
Feb 4, 2025

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Nov 8, 2023

Since Java 9 it has been possible to pass parameters to Java processes via a file. This cleanly solves the issue of parameter length limits on all platforms.

Previously, if the user encountered errors due to a large classpath, they could enable a flag so that a jar file was constructed with a manifest containing the classpath. This functionality can now be replaced as the minimum supported version has been raised to 11.

The parameter file is a more flexible general solution which will continue to work if/when pitest adds support for module paths.

@hcoles hcoles force-pushed the feature/modulepath branch 2 times, most recently from d4b436e to 0595209 Compare November 8, 2023 13:01
This is supported from Java 9 onwards
@hcoles hcoles force-pushed the feature/modulepath branch from 0595209 to 4db745b Compare February 4, 2025 09:30
@hcoles hcoles changed the title Rework process code Pass process parameters by file Feb 4, 2025
@hcoles hcoles merged commit 40fa0fb into master Feb 4, 2025
6 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.

1 participant