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
ClassLoaderHandler for Quarkus RuntimeClassLoader 1.13.3 #531
Comments
Added and released in version 4.8.109. Thanks for the contribution and the pull request! |
Hi @itmrat01 ! Could you show an example of how you use Classgraph in a Quarkus application, please? |
This is an example to get all files from classpath with pattern '*-default.properties' from package 'properties'
|
@tivrfoa -- I think you're asking about how to scan in general, given the compiling via GraalVM in Quarkus means that your application is no longer running as bytecode, or even in a jar? If so, this may help -- build-time scanning: https://github.com/classgraph/classgraph/wiki/Build-Time-Scanning |
Thank you very much! =) |
I was just wondering if there were some Quarkus specific thing needed to generate the class graph.
I'll take a look. |
There is nothing specific needed for Quarkus when your project is in classfile form, with the classfiles either in directories or in jarfiles, as far as I know. But if you do use GraalVM to compile to native code, you have to do the scan before that compilation step, or it won't work. (Android has the same constraint -- you have to scan before compilation to Dalvik bytecodes.) |
Hey,
I run in a problem after a quarkus update to 1.13.3. I don't know since which version the Classloader at Runtime (fast-jar) changed, but it changed to "io.quarkus.bootstrap.runner.RunnerClassLoader".
I tried a little bit by myself and following code worked for me. Perhaps you want to use it, otherwise feel free to close this issue.
BR
Tobias
The text was updated successfully, but these errors were encountered: