Join GitHub today
Scala Classloader with java.lang.ClassLoader.registerAsParallelCapable #11429
Currently i have a custom classloader
In java custom classloader this would be as straightforward as having registration done in a static block, but currently i see that for scala i need to do this is a companion object and not in my custom class, but it will not take affect as inside
You need SIP-30 which is in dotty but not yet Scala 2? The annotation requests the member as a static member of the companion class. It looks like it works.