Comment by hinkley

1 year ago

I haven’t been in Java for a good while. When did they do that?

Static initializers used to load on Classloader calls.

An overload for Class.forName with an explicit initialize parameter was added in Java 1.2 .

  • Except they don't call Class.forName(..., false, ...) anywhere in the codebase, so my original comment still stands.