some bug fixes in class metadata relating to unusual class definitions in java.lang