<p>In a JVM, Two classes are the same class (and consequently the same type) if
they are loaded by the same class loader, and they have the same fully
qualified name [JVMSpec 1999].

Comparing class name ignores the class loader.
</p>