OSDN Git Service

Frameworks/base: Fix comment
authorAndreas Gampe <agampe@google.com>
Tue, 21 Apr 2015 16:01:51 +0000 (09:01 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 21 Apr 2015 16:01:51 +0000 (09:01 -0700)
Fix comment in ZygoteInit.

Change-Id: I853581c8d44ee52ee8e113c67ea68621643ecb39

core/java/com/android/internal/os/ZygoteInit.java

index da53995..d44959b 100644 (file)
@@ -267,11 +267,11 @@ public class ZygoteInit {
                     if (false) {
                         Log.v(TAG, "Preloading " + line + "...");
                     }
-                    // Load and explicitly initialize the given class. Use the tree-argument version
-                    // of forName to avoid repeated stack lookups (to derive the caller's
-                    // class-loader). Use true to force initialization, and null for the boot
-                    // classpath class-loader (could as well cache the class-loader of this class in
-                    // a variable).
+                    // Load and explicitly initialize the given class. Use
+                    // Class.forName(String, boolean, ClassLoader) to avoid repeated stack lookups
+                    // (to derive the caller's class-loader). Use true to force initialization, and
+                    // null for the boot classpath class-loader (could as well cache the
+                    // class-loader of this class in a variable).
                     Class.forName(line, true, null);
                     count++;
                 } catch (ClassNotFoundException e) {