Allow being loaded by bootclassloader.

From documentation: 
>Some implementations may use null to represent the bootstrap class loader. This method will return null in such implementations if this class was loaded by the bootstrap class loader.