< prev index next >

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

Print this page
@@ -49,11 +49,11 @@
      public Object newInstance(Object[] args)
          throws InstantiationException,
                 IllegalArgumentException,
                 InvocationTargetException
      {
-         // We can't inflate a constructor belonging to a vm-anonymous class
+         // We can't inflate a constructor belonging to a hidden class
          // 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()
                  && !c.getDeclaringClass().isHidden()
                  && generated == 0
< prev index next >