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

Copied the Vert.x FileCache and FileResolverImpl to override a method allowing us to support the quarkus: URL scheme used by the QuarkusClassLoader #30820

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FroMage
Copy link
Member

@FroMage FroMage commented Feb 2, 2023

This isn't ideal, because two Vert.x classes need to be copied. A better version of this fix would be if Vert.x added the quarkus: protocol to FileResolverImpl, but at least we can test this before making a Vert.x release with that fix.

Now, I'm not sure if we should merge this to solve this now, and fix it when Vert.x makes a release, or wait for the new Vert.x release?

Fixes #28474

… allowing us to support the quarkus: URL scheme used by the QuarkusClassLoader

Fixes quarkusio#28474
@FroMage
Copy link
Member Author

FroMage commented Feb 2, 2023

/CC @vietj @cescoffier @pmlopes @ia3andy

@geoand
Copy link
Contributor

geoand commented Feb 3, 2023

I assume that a more robust solution would be to provide some kind of SPI in Vert.x to allow for a pluggable protocol based resolution

@gsmet gsmet added the triage/needs-rebase This PR needs to be rebased first because it has merge conflicts label Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-rebase This PR needs to be rebased first because it has merge conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't load static resource created by extension
3 participants