8208998: Typo in ModueInfo.java, field for ModuleHashes should be moduleHashes
Reviewed-by: alanb
Contributed-by: christoph.dreis@freenet.de
--- a/src/java.base/share/classes/jdk/internal/module/ModuleInfo.java Fri Aug 03 21:06:15 2018 -0700
+++ b/src/java.base/share/classes/jdk/internal/module/ModuleInfo.java Sun Aug 05 19:16:31 2018 +0100
@@ -233,7 +233,7 @@
Set<String> allPackages = null;
String mainClass = null;
ModuleTarget moduleTarget = null;
- ModuleHashes moduelHashes = null;
+ ModuleHashes moduleHashes = null;
ModuleResolution moduleResolution = null;
for (int i = 0; i < attributes_count ; i++) {
@@ -267,7 +267,7 @@
case MODULE_HASHES :
if (parseHashes) {
- moduelHashes = readModuleHashesAttribute(in, cpool);
+ moduleHashes = readModuleHashesAttribute(in, cpool);
} else {
in.skipBytes(length);
}
@@ -331,7 +331,7 @@
ModuleDescriptor descriptor = builder.build();
return new Attributes(descriptor,
moduleTarget,
- moduelHashes,
+ moduleHashes,
moduleResolution);
}