Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/4165#issuecomment-71093445
The 1.7 dependency will probably be shot down pretty quickly. But one way
you could work around it in Scala is to have a factory method to create
instances of this classloader. That method would then make sure the
registration method is called before any instances of the class are created.
That would complicate inheritance a bit, though.
I've played with fixing parts of this code in #3233, and it seems like the
only thing missing is the locking, which shouldn't be hard to re-create in Java
6.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]