CARVIEW |
Select Language
HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://mail.openjdk.org/pipermail/jpms-spec-comments/2015-September/000002.html
date: Tue, 29 Jul 2025 11:54:42 GMT
HTTP/2 200
content-type: text/html
last-modified: Mon, 11 Jul 2016 15:04:33 GMT
etag: "d67-5375d7847a240"
accept-ranges: bytes
x-akamai-transformed: 0 - 0 -
vary: Accept-Encoding
content-encoding: gzip
date: Tue, 29 Jul 2025 11:54:43 GMT
content-length: 1482
set-cookie: _abck=7691B33A0E03E904E47C11F2922D3B2F~-1~YAAQNAHARW7uKj2YAQAA2/EIVg482z0GjwCYVy684PvSIngMFQG0w9DikG0XzlEjKmHwtUH8i4EbbUKBcAmx8G6p1HzGfHH5QxXFspCFzWEgVxBjlkfZlSXF8tiSluJl8EfQIaDwcE4UhhPdj1Szf94piXIGd59KVfjkJUhj4vrWdA/G3k2GAajgXqvMNZV9zZDTfXnCs4oJ5HgMtSlMUJHItDNyf6hu0ZL6+oYf2NDhCWAFqu0PoZdnSvBNHW5euYwpisc+cc6wBC1TqPK+Wf8b9gIjXTv1HsukETk0VfqN4XkfMZdWZvanOeXFAHaEcR3LGpYy/CAY0PfVOkQ9WZgw5A8G9yDk+h+7moudRZcnx9+mGb+qMCzawPk6DtA+CWRdAtjT2lO1Ja9kyiQab51frzejmnmmClLQCva4pf5u8qCjxTWN/j3j+5DwpOv1gpp2XYk=~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Wed, 29 Jul 2026 11:54:43 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=E7807E1E2D89E2AD5091B3246658A6E9~YAAQNAHARW/uKj2YAQAA2/EIVhyazyP8lMW87wa7yZK5T2AwKr0HdQUKX553QLM6GZUqwFGHRmUd4zhLUfd2E6YzMCXEsrGJs7vMNl4cDrdDpsKwcbWwEKfwvFp+n4T2dLPtrEk9SfF0Y8CZDHe+6cIBTqN1r42xSg2xZl7GPWt7fT6e706XR340bk7HqW1fEyUDgXWp7OUOVy0WMbWNMpS8cKds7oov2eG6K7JYUoiVR/926yW4RX00VuZuTkQ3XFUVn7eYFrm8GhN3IlD9FwWvyXZXAvrxZH2RhH/iJLztPGlIkUVr9Dglt9WFKrLT5cYBDZdiy3PMso/dj9wTtr2bonO2PfCsMCG6lZtGKMdv3j4aycR901s=~3360057~3617333; Domain=.openjdk.org; Path=/; Expires=Tue, 29 Jul 2025 15:54:42 GMT; Max-Age=14399
Support for multiple modules in one JAR-File
Sat Sep 12 09:49:50 UTC 2015
More information about the jpms-spec-comments mailing list
Support for multiple modules in one JAR-File
Stefan Fuchs snfuchs at gmx.deSat Sep 12 09:49:50 UTC 2015
- Next message: JDK Modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, reading the State of the Module System, I got the impression that a modular jar file can only contain one module. However, many applications, I have seen, fold all its dependencies into one big jar file (See [1]m [2] and [3] for tool support). This is done to: * reduce startup times for webstart applications * ease distribution and deployment * enable efficient obfuscating of the resulting jar (see [4]) So I think it is critical to support multiple modules in one jar file, if the module system is to be adopted beyond the jdk. In this context I find the convention, of placing a module-info.java or module-info.class in the root of the jar file, a poor choice. It should be named after the module name (e.g.: com-foo-bar-module-info.java). Besides, I think using a simple text file to declare the module dependencies would have been the better option. No special tools would be needed to inspect the dependencies of a jar file, when the source is not available. - Stefan [1] https://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies [2] https://github.com/shevek/jarjar [3] https://ant.apache.org/manual/Tasks/jar.html [4] https://proguard.sourceforge.net/
- Next message: JDK Modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the jpms-spec-comments mailing list