We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cf29b commit 39d2880Copy full SHA for 39d2880
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/Resources.java
@@ -66,7 +66,11 @@ public static Resources singleton() {
66
return ImageSingletons.lookup(Resources.class);
67
}
68
69
- /** The hosted map used to collect registered resources. */
+ /**
70
+ * The hosted map used to collect registered resources. Using a {@link Pair} of (moduleName,
71
+ * resourceName) provides implementations for {@code hashCode()} and {@code equals()} needed for
72
+ * the map keys.
73
+ */
74
private final EconomicMap<Pair<String, String>, ResourceStorageEntry> resources = ImageHeapMap.create();
75
76
Resources() {
0 commit comments