changeset 14294:7919272336c9

Change default module version from "" to null.
author hseigel
date Fri, 23 Oct 2015 12:27:49 -0400
parents d7adac71ce63
children 22839e63cbda
files src/java.base/share/classes/java/lang/reflect/Module.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/reflect/Module.java	Mon Oct 19 18:35:14 2015 -0700
+++ b/src/java.base/share/classes/java/lang/reflect/Module.java	Fri Oct 23 12:27:49 2015 -0400
@@ -117,7 +117,7 @@
             array[i++] = pn.replace('.', '/');
         }
         Version version = descriptor.version().orElse(null);
-        String vs = Objects.toString(version, "");
+        String vs = Objects.toString(version, null);
         String loc = Objects.toString(uri, null);
 
         defineModule0(this, vs, loc, array);