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

Move ShimServiceProvider file re-init/truncate #5599

Merged
merged 2 commits into from
May 24, 2022

Conversation

gerashegalov
Copy link
Collaborator

This PR closes #5596 by moving truncate close to when shim service file
concatentation is about to generate a new list.

The empty file for ShimServiceProvider created during init-properties is not populated via
concat in the conventional jar path, later overwriting the original file
from the aggregator jar. it's also bad practice to have side effects
while still initializing properties. This PR corrects these issues.

Signed-off-by: Gera Shegalov gera@apache.org

This PR closes 5596 by moving truncate close to when shim service file
concatentation is about to generate a new list. T

The empty file for ShimServiceProvider created during init-properties is not populated via
concat in the conventional jar path, later overwriting the original file
from the aggregator jar. it's also bad practice to have side effects
while still initializing properties. This PR corrects these issues.

Signed-off-by: Gera Shegalov <gera@apache.org>
@gerashegalov gerashegalov requested a review from jlowe May 23, 2022 22:11
@gerashegalov gerashegalov added the build Related to CI / CD or cleanly building label May 23, 2022
@gerashegalov gerashegalov self-assigned this May 23, 2022
@gerashegalov gerashegalov added this to the May 23 - Jun 3 milestone May 23, 2022
Signed-off-by: Gera Shegalov <gera@apache.org>
@gerashegalov gerashegalov requested a review from jlowe May 23, 2022 22:19
@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov gerashegalov merged commit ee6335b into NVIDIA:branch-22.06 May 24, 2022
@gerashegalov gerashegalov deleted the gerashegalov/issue5596 branch May 24, 2022 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Shim service provider failure when using jar built with -DallowConventionalDistJar
2 participants