Skip to content

Commit 1c9f311

Browse files
Style changes.
1 parent 939d8bb commit 1c9f311

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/xml/Target_jdk_xml_internal_JdkXmlConfig_CatalogHolder.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,14 @@
3030

3131
import com.oracle.svm.core.annotate.Alias;
3232
import com.oracle.svm.core.annotate.RecomputeFieldValue;
33-
import com.oracle.svm.core.annotate.Substitute;
3433
import com.oracle.svm.core.annotate.TargetClass;
3534

3635
/**
37-
* Substitution to initialize {@link #catalog} at build time.
36+
* Substitution to initialize {@link #JDKCATALOG} at build time.
3837
*
3938
* JDK-8306055 introduced a built-in Catalog to JDK XML module in JDK 22. Without special treatment,
4039
* the initialization code would pull intermediate types (e.g. {@code CatalogReader}) into the image
41-
* heap. To avoid this, we initialize the catalog at build time and substitute the {@link #init}
42-
* method to be empty.
40+
* heap. To avoid this, we initialize the catalog at build time.
4341
*
4442
* Ideally, we would initialize all of {@code jdk.xml} at run time, but that is too intrusive at the
4543
* current point in time (GR-50683).

0 commit comments

Comments
 (0)