getClassRealm was needlessly invoked twice via reflection