@@ -172,7 +172,7 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
172
172
}
173
173
174
174
// SystemJimfsFileSystemProvider uses reflection to look up and call this method
175
- RuntimeReflection .register (ReflectionUtil .lookupMethod (ReflectionUtil .lookupClass ("com.google.common.jimfs.JimfsFileSystem" ), "toPath" , URI .class ));
175
+ RuntimeReflection .register (ReflectionUtil .lookupMethod (ReflectionUtil .lookupClass ("org.graalvm.shadowed. com.google.common.jimfs.JimfsFileSystem" ), "toPath" , URI .class ));
176
176
177
177
/*
178
178
* The constructors of these classes are package-private to prevent user code from creating
@@ -281,17 +281,17 @@ public void afterRegistration(AfterRegistrationAccess access) {
281
281
282
282
// This class gets initialized, causing the "unintentionally initialized at build time"
283
283
// error. The initializer is simple and does not depend on other classes, so just allow it.
284
- rci .initializeAtBuildTime ("com.google.common.jimfs.SystemJimfsFileSystemProvider" , "service provider" );
285
- rci .initializeAtBuildTime ("com.google.common.collect.MapMakerInternalMap" , "service provider" );
286
- rci .initializeAtBuildTime ("com.google.common.collect.MapMakerInternalMap$1" , "service provider" );
287
- rci .initializeAtBuildTime ("com.google.common.collect.MapMakerInternalMap$EntrySet" , "service provider" );
288
- rci .initializeAtBuildTime ("com.google.common.collect.MapMakerInternalMap$StrongKeyWeakValueSegment" , "service provider" );
289
- rci .initializeAtBuildTime ("com.google.common.collect.MapMakerInternalMap$StrongKeyWeakValueEntry$Helper" , "service provider" );
290
- rci .initializeAtBuildTime ("com.google.common.base.Equivalence$Equals" , "service provider" );
284
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.jimfs.SystemJimfsFileSystemProvider" , "service provider" );
285
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.collect.MapMakerInternalMap" , "service provider" );
286
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.collect.MapMakerInternalMap$1" , "service provider" );
287
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.collect.MapMakerInternalMap$EntrySet" , "service provider" );
288
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.collect.MapMakerInternalMap$StrongKeyWeakValueSegment" , "service provider" );
289
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.collect.MapMakerInternalMap$StrongKeyWeakValueEntry$Helper" , "service provider" );
290
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.base.Equivalence$Equals" , "service provider" );
291
291
292
292
// Initializing this class at build-time helps in determining the type of its static field
293
293
// "systemProvider", which is necessary to compile some reflective accesses to the object.
294
- rci .initializeAtBuildTime ("com.google.common.jimfs.Jimfs" , "looks for service provider" );
294
+ rci .initializeAtBuildTime ("org.graalvm.shadowed. com.google.common.jimfs.Jimfs" , "looks for service provider" );
295
295
296
296
rci .initializeAtRunTime (WebImageTempFileHelper .class , "instances of Random are not allowed in the image heap" );
297
297
rci .initializeAtRunTime (WebImageFileSystem .class , "Static fields need to read system properties at runtime" );
0 commit comments