<p>Can <code>Thread.getContextClassLoader()</code> be null ? The javadoc is not really clear.<br>
Should a library take this case into account ?</p>

<p>Update: the reason I asked is that <code>beansbinding.dev.java.net</code> does <em>not</em> work in this case (and my code does <code>setContextClassLoader(null)</code></p>

Yes you should, someone could have called
```
Thread.setContextClassLoader(null)
```
and your library IMO should be able to deal with that.