src/share/classes/sun/module/repository/URLModuleInfo.java
Print this page
@@ -58,11 +58,11 @@
}
URLModuleInfo(String name, Version version, String platform, String arch, String path) {
if ((platform == null ^ arch == null)) {
throw new IllegalArgumentException(
- "module platform and name must be either both provided, or neither provided");
+ "module platform and arch must be either both provided, or neither provided");
}
if (name == null) {
throw new IllegalArgumentException(
"name must not be null");