[asm] 01/05: Removed the module-info.class from the jars

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 20 14:45:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository asm.

commit 7ffe50eeaa71c1ae3ab22b8d6bcd25c81d9bf1bb
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Nov 20 15:34:56 2017 +0100

    Removed the module-info.class from the jars
---
 debian/changelog                                   |  8 ++
 .../patches/disable-module-info-bnd-plugin.patch   | 99 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dcf48ea..5c0b104 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+asm (6.0~alpha-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Removed the module-info.class from the jars
+    (not compatible with the latest Java 9 spec)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 20 Nov 2017 14:14:43 +0100
+
 asm (6.0~alpha-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/patches/disable-module-info-bnd-plugin.patch b/debian/patches/disable-module-info-bnd-plugin.patch
new file mode 100644
index 0000000..a1c8179
--- /dev/null
+++ b/debian/patches/disable-module-info-bnd-plugin.patch
@@ -0,0 +1,99 @@
+Description: Don't generate the module-info.class files (the latest version of ASM can't parse them)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/archive/asm-all.bnd
++++ b/archive/asm-all.bnd
+@@ -60,9 +60,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ 
+ -removeheaders:\
+   ANNV,\
+--- a/archive/asm-analysis.bnd
++++ b/archive/asm-analysis.bnd
+@@ -52,9 +52,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ 
+ Bundle-RequiredExecutionEnvironment: J2SE-1.3
+ 
+--- a/archive/asm-commons.bnd
++++ b/archive/asm-commons.bnd
+@@ -54,9 +54,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
+--- a/archive/asm-debug-all.bnd
++++ b/archive/asm-debug-all.bnd
+@@ -60,9 +60,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
+--- a/archive/asm-tree.bnd
++++ b/archive/asm-tree.bnd
+@@ -53,9 +53,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
+--- a/archive/asm-util.bnd
++++ b/archive/asm-util.bnd
+@@ -53,9 +53,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
+--- a/archive/asm-xml.bnd
++++ b/archive/asm-xml.bnd
+@@ -57,9 +57,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
+--- a/archive/asm.bnd
++++ b/archive/asm.bnd
+@@ -48,9 +48,6 @@
+ -pluginpath: \
+   ${out.build}/bnd-module-plugin.jar
+   
+--plugin.asm: \
+-  org.objectweb.asm.optimizer.ModuleInfoBndPlugin;
+-
+ -removeheaders:\
+   ANNV,\
+   DSTAMP,\
diff --git a/debian/patches/series b/debian/patches/series
index 5871ade..9364614 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 encoding.patch
 reproducible-javadoc.diff
+disable-module-info-bnd-plugin.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/asm.git



More information about the pkg-java-commits mailing list