java.lang.System's comment about initializeSystemClass

Jaikiran Pai jai.forums2013 at gmail.com
Fri Oct 18 07:03:16 UTC 2019


The java.lang.System has this code comment[1] which states:

"

/* Register the natives via the static initializer.
     *
     * VM will invoke the initializeSystemClass method to complete
     * the initialization for this class separated from clinit.
     * Note that to use properties set by the VM, see the constraints
     * described in the initializeSystemClass method.
     */

"

However, I can't find that "initializeSystemClass" method anywhere in
that class or any other class in the JDK code. Is that comment still
relevant or am I looking in the wrong places?

[1]
http://hg.openjdk.java.net/jdk/jdk/file/9f5b92d5a1b2/src/java.base/share/classes/java/lang/System.java#l97

-Jaikiran



More information about the core-libs-dev mailing list