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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
