|
|
|
|
|
by needusername
3936 days ago
|
|
> They will switch from the basic jar (zip) format to a more optimized one. Straight from the article: > A modular JAR file is like an ordinary JAR file in all possible ways, except that it also includes a module-info.class file in its root directory. > A modular JAR file can be used as a module, in which case its module-info.class file is taken to contain the module’s declaration. It can, alternatively, be placed on the ordinary class path, in which case its module-info.class file is ignored So no. |
|
"For the purpose of modularizing the Java SE Platform’s reference implementation, the JDK, we will introduce a new artifact format that goes beyond JAR files to accommodate native code, configuration files, and other kinds of data that do not fit naturally, if at all, into JAR files. This format leverages another advantage of expressing module declarations in source files and compiling them into class files, namely that class files are independent of any particular artifact format. Whether this new format, provisionally named “JMOD,” should be standardized is an open question."
Edit: from http://mreinhold.org/blog/jigsaw-modular-images
"The internal files rt.jar, tools.jar, and dt.jar have been removed. The content of these files is now stored in a more efficient format in implementation-private files in the lib directory."