You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "opwvhk (via GitHub)" <gi...@apache.org> on 2025/05/30 13:18:58 UTC
Re: [PR] AVRO-4147: Mention ServiceLoader in SchemaFormatter javadoc [avro]
opwvhk commented on PR #3389:
URL: https://github.com/apache/avro/pull/3389#issuecomment-2922380090
Thank you @nandorKollar !
Your comment is entirely correct, and the javadoc for `SchemaFormatterFactory` already mentions it. The reason for this comment however, is because I encountered a class loading issue when trying to use the `SchemaFormatter` in a non-standard environment (an IDE plugin).
The reason it didn't work, is because the class needed to be loaded using the context ClassLoader: neither my plugin nor Avro were available at application start, so the application ClassLoader could not find it.
I'm not certain though, whether I should mention that explicitly or if a reference to the `ServiceLoader` is sufficient.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org