Your message dated Fri, 06 Jan 2017 01:33:37 +0000 with message-id <[email protected]> and subject line Bug#845606: fixed in asm 5.2-1 has caused the Debian Bug report #845606, regarding The Bytecode Should Not Be Targeting Java 1.2 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 845606: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845606 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libasm-java Version: 5.1-1 Severity: important The current package of libasm-java contains classes that targets the ancient Java 1.2 where generics is not supported. When I was building a package for Jack (Java Android Compiler Kit) which uses the generics code in ASM, it yielded the following errors: ``` <somewhere>/android-toolchain-jack/jill/src/com/android/jill/frontend/java/MethodBodyWriter.java:196: error: type Analyzer does not take parameters private final Analyzer<BasicValue> analyzer; ^ ``` But apparently `org.objectweb.asm.tree.analysis.Analyzer<V>` takes a type parameter. FYI, `MethodBodyWriter.java` can be found at [1]. So I suspected this was caused by the Java version of the bytecodes, and I found out that the classes in `asm-all.jar` is for Java 1.2. By observing the build scripts of ASM I found that it was the "shrinking" process [2] that changed the classes to Java 1.2 instead of 1.5 as indicated by `build.xml`. After I applied `-Dproduct.noshrink=true` to the build command, as the documentation suggests, Jack was successfully built with the resulting `asm-all.jar`. Therefore, I wish the maintainers of this package turn off the "shrinking" process. According to the ASM documentations [2], "shrinking" is merely for reducing JAR size, which is not necessary in this case. [1]: https://android.googlesource.com/toolchain/jack/+/ub-jack-douarn-b8/jill/src/com/android/jill/frontend/java/MethodBodyWriter.java [2]: http://asm.ow2.org/doc/developer-guide.html#building
--- End Message ---
--- Begin Message ---Source: asm Source-Version: 5.2-1 We believe that the bug you reported is fixed in the latest version of asm, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Emmanuel Bourg <[email protected]> (supplier of updated asm package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 06 Jan 2017 02:11:13 +0100 Source: asm Binary: libasm-java libasm-java-doc Architecture: source all Version: 5.2-1 Distribution: unstable Urgency: medium Maintainer: Debian Java Maintainers <[email protected]> Changed-By: Emmanuel Bourg <[email protected]> Description: libasm-java - Java bytecode manipulation framework libasm-java-doc - Java bytecode manipulation framework (documentation) Closes: 845606 Changes: asm (5.2-1) unstable; urgency=medium . * Team upload. . [ Emmanuel Bourg ] * New upstream release * Build with the DH sequencer instead of CDBS * debian/copyright: Credited Eugene Kuleshov * Standards-Version updated to 3.9.8 * Switch to debhelper level 10 . [ tony mancill ] * Apply patch to disable the shrink step during the build and thereby avoid shipping 1.2 bytecode. (Closes: #845606) - Thanks to 殷啟聰 <[email protected]>. Checksums-Sha1: a542a9dd80c3580d814bffe300e21c8b775bdca2 2059 asm_5.2-1.dsc e78ce2766c43a9ceef83a077c6937a4f406d065d 14738652 asm_5.2.orig.tar.xz 96fa9a0d161938b464fdea36dacba95853c90f78 7000 asm_5.2-1.debian.tar.xz ab723f3f27662d2f8245ba410b755b17755bdda2 9228 asm_5.2-1_amd64.buildinfo 8ad6e66c7ef5026433b6111199d932f746e7b08a 379124 libasm-java-doc_5.2-1_all.deb 217dd7c02ad78be0ebb8385051ef8a8a65a81de8 1046852 libasm-java_5.2-1_all.deb Checksums-Sha256: 3d4f7b0c60e989b179488d8c65490ee074d3918c6bdbc615f27942eb442a6568 2059 asm_5.2-1.dsc 01e72fdb55c44ebb9980c705a32a458cc2f063ef3606006f80dcce96f00b2979 14738652 asm_5.2.orig.tar.xz 4c568717bf03152c8ca915544063bf2034667214f08d3c5db0edcd96a0090452 7000 asm_5.2-1.debian.tar.xz d44630baeb7e8f36bedeaa6030bdc3ec9673810f4a6c82d9ef5e36b06eeb1083 9228 asm_5.2-1_amd64.buildinfo 47ecf6bbb3bfb1a58ad7afc383236d78dbba2829e459b9ffeb45971de793b234 379124 libasm-java-doc_5.2-1_all.deb bd806367797b36509de14a058703209c102693b0156a134ab0e2849b6932871f 1046852 libasm-java_5.2-1_all.deb Files: b88d178d5122b399c52aa8bb4ea71cb9 2059 java optional asm_5.2-1.dsc 51b12c6f3e3cd0122a17f7a93a790b79 14738652 java optional asm_5.2.orig.tar.xz 53869e112c993217491079a5707ae1bd 7000 java optional asm_5.2-1.debian.tar.xz fd1d5f0f0bf696248bae14cad515df52 9228 java optional asm_5.2-1_amd64.buildinfo c8d3ea16f5395d48647dcebf6aa1b1dd 379124 doc optional libasm-java-doc_5.2-1_all.deb aa942b5bc0f6dcc1fa7321e092d29637 1046852 java optional libasm-java_5.2-1_all.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlhu7voACgkQ9RPEGeS5 0Kw7lg//SOYV9wM9j9EdosY+jTyyYKSF2bL5ZGINEV8JZc6Rghge2oFErYOlKHMa ICgEkxLqkumWGhLm3IclsIMXIHXU0WcBFoMOxBl0JKMA0IUMNqAtW4sThEnuwO34 JedUA2kQcIS1ym4APUF5/22GQBKi04pj+t9CGgj10IPsJOn6VuV07qLVVXzyJRXi Dc9aIUyOUUluysc4i7bBAGtVy5qMvY3gJczB3K2MiqipwPzxnW7LDP+qU7zPIgZm eEfUf+Rqwi+kSDFb/TCsDlacoQIFAPeLy3SGH7mDuECwYnz3XwE3avyiUKl8olY0 c4v7+9FLd2DvhJv1PoqNkEVX3THA39T+pUhoxf1n9CphLaT5r7mNURu9WWuSjAt6 q5zWDekZ6/Jipv2d5d9FKd3JXirMzubICrNM34lixjWDixujQS1VWpUmWN2V5ksq 9jRZ4xEl8wCSN/cl0NSzl1L5LmhPNRkh6XCnDhe7ZYRLUn+ReDSCazqbkik2dhqf ZeKyla9dSlKFJbbmXf5qvgeJtNE9bTLXI2PbwiMo57ywR6noJ7cbBVAM/10ybdFq qdsOoR3W9+K+3aO8BZTNLDwtE7z2s0BH9U6qnYs1RhfudI5DVJ6BcGthOIl3TJ/y 4v6W8iTN4nZleUHwTKPcxtznh0wKYwXWzRWD1oQg3k+BW1QtVyY= =3vV+ -----END PGP SIGNATURE-----
--- End Message ---
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

