Fix comment in early return from classInitializationMayHaveSideEffectsInContext
Bug: b/366412380
Change-Id: I0dd245b6a1204fe5d8fa4f06ff78f2ca7380e4c9
diff --git a/src/main/java/com/android/tools/r8/graph/DexType.java b/src/main/java/com/android/tools/r8/graph/DexType.java
index b4e9ea1..40e474c 100644
--- a/src/main/java/com/android/tools/r8/graph/DexType.java
+++ b/src/main/java/com/android/tools/r8/graph/DexType.java
@@ -174,7 +174,8 @@
public boolean classInitializationMayHaveSideEffectsInContext(
AppView<?> appView, ProgramDefinition context) {
// To ensure that we assume that there are no class initialization side effects directly on
- // the super class in D8 we always return true if this is a new instance of a direct super type.
+ // the super class in D8 we always return false if this is a new instance of a direct super
+ // type.
if (context.getContextClass().getSuperType().isIdenticalTo(this)
|| context.getContextType().isIdenticalTo(this)) {
return false;