Skip to content

Conversation

@melix
Copy link

@melix melix commented Jan 16, 2025

This commit fixes the findResources method, which failed to find resources when the resource name ended with a /, which is inconsistent with the Java classloader.

This issue was discovered while evaluating Uno-Jar as a replacement for fatjar creation in Micronaut.

This commit fixes the `findResources` method, which failed to find
resources when the resource name ended with a `/`, which is inconsistent
with the Java classloader.

This issue was discovered while evaluating Uno-Jar as a replacement
for fatjar creation in Micronaut.
@melix
Copy link
Author

melix commented Jan 16, 2025

I actually just realized that the jar that I modified is manually copied to the resources directory... running a Gradle task. I don't think it's a good practice to do this, I'm working on a build update to avoid this.

@melix
Copy link
Author

melix commented Jan 17, 2025

Superceded by #48

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