facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Make classloader choice explicit #214

Closed martint closed 10 years ago

martint commented 10 years ago

If a caller needs the bytecode compiler to use a custom classloader, it should make an explicit choice.

In particular, Swift shouldn't try to infer a classloader by looking into the thread context classloader, which was designed as a way for various layers in a J2EE server to share information via a thread-local side channel.

martint commented 10 years ago

merged