Revert detecting java.lang classes