File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/imagelayer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
import java .util .concurrent .ConcurrentHashMap ;
41
41
import java .util .stream .Collectors ;
42
42
43
- import com .oracle .svm .core .jdk .JDKLatest ;
44
- import jdk .graal .compiler .serviceprovider .JavaVersionUtil ;
45
43
import org .graalvm .nativeimage .ImageSingletons ;
46
44
47
45
import com .oracle .graal .pointsto .ObjectScanner ;
85
83
import jdk .graal .compiler .debug .CounterKey ;
86
84
import jdk .graal .compiler .nodes .EncodedGraph ;
87
85
import jdk .graal .compiler .nodes .FieldLocationIdentity ;
86
+ import jdk .graal .compiler .serviceprovider .JavaVersionUtil ;
88
87
import jdk .graal .compiler .util .ObjectCopier ;
89
88
import jdk .graal .compiler .util .ObjectCopierInputStream ;
90
89
import jdk .graal .compiler .util .ObjectCopierOutputStream ;
@@ -122,7 +121,8 @@ public class SVMImageLayerSnapshotUtil {
122
121
protected static final Set <Field > dynamicHubCompanionRelinkedFields = Set .of (classInitializationInfo , superHub , arrayHub );
123
122
124
123
private static final Class <?> sourceRoots = ReflectionUtil .lookupClass ("com.oracle.svm.hosted.image.sources.SourceCache$SourceRoots" );
125
- private static final Class <?> completableFuture = JavaVersionUtil .JAVA_SPEC <= 21 ? ReflectionUtil .lookupClass ("com.oracle.svm.core.jdk.CompletableFutureJDK21FieldHolder" ) : ReflectionUtil .lookupClass ("com.oracle.svm.core.jdk.CompletableFutureFieldHolder" );
124
+ private static final Class <?> completableFuture = JavaVersionUtil .JAVA_SPEC <= 21 ? ReflectionUtil .lookupClass ("com.oracle.svm.core.jdk.CompletableFutureJDK21FieldHolder" )
125
+ : ReflectionUtil .lookupClass ("com.oracle.svm.core.jdk.CompletableFutureFieldHolder" );
126
126
127
127
/**
128
128
* This map stores the field indexes that should be relinked using the hosted value of a
You can’t perform that action at this time.
0 commit comments