NPE at org.openjdk.jigsaw.Platform.adjustPlatformDependences(Platform.java:72)
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Tue Dec 15 15:35:47 PST 2009
Platform.java:72 throws NPE if Catalog.readModuleInfo returns null,
which it is allowed to do.
Platform.java
71: public static void adjustPlatformDependences(ModuleInfo mi) {
72: if (!isPlatformModuleName(mi.id().name()))
invoked from
Resolver.java
195: ModuleInfo mi = cat.readModuleInfo(mid);
196: Platform.adjustPlatformDependences(mi);
But:
Catalog.readModuleInfo
* @return The requested {@link java.lang.module.ModuleInfo
ModuleInfo},
* or {@code null} if no such module is present in this catalog
-- Jon
More information about the jigsaw-dev
mailing list