

  Semantic mismatch between instanceof operator and Class.isInstance
  ------------------------------------------------------------------


The documentation declares these 2 to be the same, but the semantics
is just reversed:

   class A {}
   class B extends A {}
   class C extends B {}
   class D extends C {}

   System.out.println(a.getClass().isInstance(d));  // true
   System.out.println(a instanceof D);              // false


but:

   System.out.println(a.getClass().isInstance(d));  // true
   System.out.println(d instanceof A);              // true


No major problem, but the documentation is wrong.
