findepi commented on code in PR #10459:
URL: https://github.com/apache/iceberg/pull/10459#discussion_r1650899387


##########
core/src/test/resources/com/example/target/custom-metrics-reporter-1.0-SNAPSHOT.jar:
##########


Review Comment:
   You can create a new classloader with e.g. `new URLClassLoader` and this 
doesn't require adding a binary jar to the repo. You can follow the example of 
https://github.com/trinodb/trino/blob/c0276cea688da155f7f5bf0cb0b53169ece43e6e/core/trino-main/src/main/java/io/trino/sql/gen/IsolatedClass.java#L32
 to see e.g. how you can populate such a classloader with a class that you 
compiled normally and is part of your classpath.



-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to