-
Notifications
You must be signed in to change notification settings - Fork 21
Remove -H:+AllowIncompleteClasspath and --report-unsupported-elements-at-runtime #141
Comments
@dzou can you have a look at this one ? We discover this flag being set on the library while investiguating a graalvm native issue on recent version of Netty (due to Brotli compresson), and it's bad practice as this is a debugging flag that should be used at client side not at library side. |
@ppalaga Thanks for catching this! We'll remove the development properties. |
Thanks for reporting this, I will try to resolve this. Unfortunately we are blocked on fixing this immediately due to an issue in the I'll try to contribute the fix upstream and see if we can resolve this. |
Just an update, finally got around to fixing this. We were able to submit a patch in grpc/grpc-java#8258 upstream, waited for a new release, and #167 will fully remove the flags. |
@dzou great, thanks for the heads up |
Perfect, thanks! |
@loicmathieu @ppalaga -- Sorry guys, I was a little early in my excitement reporting the news. I was actually only able to remove I'm basically hitting this class of error and not sure how to solve it without
I've studied Quarkus's solution for netty which might be similar to what we wish to do. But we don't have the resources for our project to maintain a set of complex GraalVM substitutions; so I'm unable to move in that direction if that is what it takes. But curious to hear if you may know what we could try. |
@dzou hard to say how much the class |
If removing is too complicated (and if the stuff done in |
Gotcha, thanks for the tips. Will give it another attempt. |
Hey I revisited this, and we were able to successfully remove I tried for a few hours to remove But I think |
Thanks, we'll see how it goes |
These are options suitable for debugging but nor for running production code. For
--report-unsupported-elements-at-runtime
, see e.g. oracle/graal#1725 (comment)Related apache/camel-quarkus#2692 , quarkiverse/quarkus-google-cloud-services#119
The text was updated successfully, but these errors were encountered: