java - jython 独立 jar 减少了软件包列表?

标签 java python jython

new version of Jython 2.7.0 standalone大小为 36155 KB;之前发布的版本 2.5.3 为 14005 KB。

如果不需要某些 Python 包,是否有任何方法可以安全地从 .jar 文件中删除功能?我想使用更新的 Jython 版本,但文件大小现在是一个问题,比 2.5.3 更严重。

最佳答案

来自 Jython 开发者邮件列表:

Yes, sorry about that. We are focused on correctness first, then we will go and trim down in subsequent 2.7.x releases, where x > 0. A huge chunk of that additional bloat is supporting unicodedata and the corresponding ICU4J jar we now use.

It should be a straightforward matter of programming to remove this ICU4J dependency. Possibly this and other optimizations, especially startup time, would be suitable for a Google Summer of Code student, given that we are planning to participate this summer.

关于java - jython 独立 jar 减少了软件包列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30337317/

相关文章:

java - 在应用程序启动 Java swing 之前等待光标

python - 导入 BitTorrent Bencode 模块

python - 如何将数据列表映射到函数列表?

python - Mechanize :点击 div 内的链接

Python 使用 BOM 编写 UCS-2 Little Endian (utf-16-le) 文件

python - 翻转图像 Python

java - 如何将 java 程序嵌入我的网站?

java - 使对象的字段对于数组列表中存储的每个对象都是唯一的

java - 与 Java 一起使用时,Python 提供了哪些额外功能?

java - 服务器没有从数据库中读取更新的数据