Skip to content
Closed
1 change: 1 addition & 0 deletions src/java.base/share/classes/java/lang/Class.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ private static void runtimeSetup() {
private Class(ClassLoader loader, Class<?> arrayComponentType, char mods, ProtectionDomain pd, boolean isPrim) {
// Initialize final field for classLoader. The initialization value of non-null
// prevents future JIT optimizations from assuming this final field is null.
// The following assignments are done directly by the VM without calling this constructor.
classLoader = loader;
componentType = arrayComponentType;
modifiers = mods;
Expand Down