Your message dated Wed, 18 Jan 2017 11:48:30 +0000
with message-id <e1ctoj8-0007hp...@fasolo.debian.org>
and subject line Bug#845606: fixed in asm 5.2-2
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 ow...@bugs.debian.org
immediately.)


-- 
845606: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845606
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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-2

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 845...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 18 Jan 2017 12:17:49 +0100
Source: asm
Binary: libasm-java libasm-java-doc
Architecture: source all
Version: 5.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 libasm-java - Java bytecode manipulation framework
 libasm-java-doc - Java bytecode manipulation framework (documentation)
Closes: 845606
Changes:
 asm (5.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Replaced the asm-all symlink with the real jar and re-enabled shrinking
     (Closes: #845606)
   * Build the jar files with bnd to always have up to date OSGi metadata
     and ensure their contents match with upstream binaries.
   * Fixed the links to the JDK classes in the javadoc
     (classpath-doc -> default-jdk-doc)
Checksums-Sha1:
 ee045dcdcac2d25176d2b24cacde463302ac41cd 2064 asm_5.2-2.dsc
 9d7c6219f40c49a65bfb0ad9e42e37e56e08b10e 5480 asm_5.2-2.debian.tar.xz
 be7bb44fdd9a41fdb427dafa094dc765da9618d5 9393 asm_5.2-2_amd64.buildinfo
 c7db5469bdbffa8f7b8b416137305776d45cb914 379298 libasm-java-doc_5.2-2_all.deb
 9084332520e0596936e9c0a81cc7f426d4ae12a9 596422 libasm-java_5.2-2_all.deb
Checksums-Sha256:
 b538b059680f4238570dc116cb8f55aef174b80e10e34831e29ec214bf1de17c 2064 
asm_5.2-2.dsc
 fe023858ea691169c436773bd391a596f0db9e84b2bb78173f9d44d511619d45 5480 
asm_5.2-2.debian.tar.xz
 55feb205f653e75dea3117de80cef86fa16d293dcb1af5e7cb616a6bb6075c48 9393 
asm_5.2-2_amd64.buildinfo
 91283f98ba331a07dc8e9f353c9ecc71bac046093f61ed384856bc3c6c26f141 379298 
libasm-java-doc_5.2-2_all.deb
 2874a53efb2a20fb32fc599d6f0c8c2a933c2de7f45f86060d189b0ec2f8e259 596422 
libasm-java_5.2-2_all.deb
Files:
 5d6d4a42f11b038bdae1c4482464c1f2 2064 java optional asm_5.2-2.dsc
 c9d3d5fb2020a73b53b7ea986de015b8 5480 java optional asm_5.2-2.debian.tar.xz
 afa941e39a0703fc23aaa74f5f860221 9393 java optional asm_5.2-2_amd64.buildinfo
 23cdd4292a8c36c3e0e980644402e980 379298 doc optional 
libasm-java-doc_5.2-2_all.deb
 3acb53b4325d4dd074f79a87ce335535 596422 java optional libasm-java_5.2-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlh/UB8ACgkQ9RPEGeS5
0KxwGBAAhpExWZWJQCzg/0NKqYqU3bOAlx0XMHElcmW65uUOeJGZSFlEhst3G+cB
BsI63Vi1dVGbl0ITHDTdHqCIIbmwNch08Tnk9EgcwRPhJ9QEwhoDGhR4cWLe0exq
ydOTdgjadTiVgfoZ833c6J9bSYAaqrlWSVoyHaBWfCvbPnobio9fjgCQO0qNEE2P
nGnx5Y67XRBDvTJYKtuZieQkspHgGpgYrJwtXreNrDYNMGrFn7BDJF1p9ugwjSlJ
weofbmpyXWZz5/5ohOc6uSbBjxm6v/EjlVH5a/kVXYLScC1Q3jRiNdJGLMxAvFHU
NSAS87OTVcQ2QzgFL+gg7A9bj1wyWzodEVEr1J4fAdQfrWY8a26V1M+OzXUjDgEp
RiBBG/tninepRFBKxFT4WmtdOicylEAhtLGSzlQAI2Z4BzipiVC/X9AXMrr92mCd
qeZsUMmOyI3aK6luTdRNsUzOi8nwQ8Y1oQIRtGR9rN+1NpbZNIo7hp/EKooJrvAj
6JvMZytLCbz0fVuORQ55WdormQe1e9NLicC8OoNZ8N/a69XxsqsSvdYo4Swh8iLk
ErpuOEY2IlanqP40qftZ4rZwe5+zmQmry3HvAv4gppd+pnEDtvf+GYhxNxAeU7UH
no+MIL0Z96cwHyUvA6m3WS4UgUQvH1KFWcAyQpl2zSZkzDYx3GM=
=2PfP
-----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
debian-j...@lists.debian.org for discussions and questions.

Reply via email to