src/share/classes/java/lang/Class.java

Print this page
rev 10452 : imported patch lang-Typos

@@ -1320,11 +1320,11 @@
         // (for nested and inner classes): the simple name.
         // (for local classes): 1 or more digits followed by the simple name.
         // (for anonymous classes): 1 or more digits.
 
         // Since getSimpleBinaryName() will strip the binary name of
-        // the immediatly enclosing class, we are now looking at a
+        // the immediately enclosing class, we are now looking at a
         // string that matches the regular expression "\$[0-9]*"
         // followed by a simple name (considering the simple of an
         // anonymous class to be the empty string).
 
         // Remove leading "\$[0-9]*" from the name