< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java

Print this page
rev 48062 : 8192833: JEP 322: Time-Based Release Versioning

*** 445,455 **** new IllegalArgumentException("No version in java.base descriptor") ); // java.base version is different than the current runtime version version = Runtime.Version.parse(v.toString()); ! if (Runtime.version().major() != version.major()) { finder = ModulePath.of(version, true, entries); } } // if limitmods is specified then limit the universe --- 445,455 ---- new IllegalArgumentException("No version in java.base descriptor") ); // java.base version is different than the current runtime version version = Runtime.Version.parse(v.toString()); ! if (Runtime.version().feature() != version.feature()) { finder = ModulePath.of(version, true, entries); } } // if limitmods is specified then limit the universe
< prev index next >