< prev index next >

src/java.base/share/classes/jdk/internal/reflect/NativeMethodAccessorImpl.java

Print this page
@@ -47,11 +47,11 @@
      }
  
      public Object invoke(Object obj, Object[] args)
          throws IllegalArgumentException, InvocationTargetException
      {
-         // We can't inflate methods belonging to vm-anonymous classes because
+         // We can't inflate methods belonging to hidden classes because
          // that kind of class can't be referred to by name, hence can't be
          // found from the generated bytecode.
          if (++numInvocations > ReflectionFactory.inflationThreshold()
                  && !method.getDeclaringClass().isHidden()
                  && generated == 0
< prev index next >