Package: lintian Version: 2.5.7 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Currently Debian and Ubuntu ship three versions of Java - 5, 6 and 7. Its possible to get into the situation where bytecode is generated from source code that is not backwards compatible - javac by default will generate bytecode that is only forwards compatible. To ensure that java libraries are compatible with all versions of Java in the archive, it would be great to have a lintian check which warnings if the minimum bytecode version is exceeded - I think this should be Java 5. The jh_depends command in the javatools package checks the bytecode version in jar files for generating alternative runtime Dependencies - this can probably be re-used in lintian as well: (version: bytecode version) java5: 49 java6: 50 java7: 51 This is of immediate use in Ubuntu where we are starting the transition of default-java to OpenJDK7 but OpenJDK6 will be retained in the archive. Thanks - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-24-generic (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.22-6 ii bzip2 1.0.6-1 ii diffstat 1.55-2 ii file 5.11-1 ii gettext 0.18.1.1-8 ii hardening-includes 2.1 ii intltool-debian 0.35.0+20060710.1 ii libapt-pkg-perl 0.1.26+b1 ii libc-bin 2.13-32 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.31-1+b2 ii libdpkg-perl 1.16.3 ii libemail-valid-perl 0.190-1 ii libipc-run-perl 0.91-1 ii libparse-debianchangelog-perl 1.2.0-1 ii libtimedate-perl 1.2000-1 ii liburi-perl 1.60-1 ii locales 2.13-32 ii man-db 2.6.1-2 ii patchutils 0.3.2-1.1 ii perl [libdigest-sha-perl] 5.14.2-10 ii unzip 6.0-6 lintian recommends no packages. Versions of packages lintian suggests: ii binutils-multiarch <none> ii dpkg-dev 1.16.3 ii libhtml-parser-perl 3.69-2 ii libtext-template-perl <none> ii man-db 2.6.1-2 ii xz-utils 5.1.1alpha+20110809-3 - -- debconf-show failed -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPtPgFAAoJEL/srsug59jD17kP/R7a51HGR4+m7735W9OuBbn5 15hR9zeRl6Mu9XWM8fY0vJ/EPbECJUEZ0Wl5GEue8L7oYpbQXHc7iHNrbY7wMqUy FLF0Rhw/np311dUOFMYu95/5t1pip+UvhXnGwSoAiyRMDKkMV00q072P2rIdn85o B23cbxZTPgEmt5EaDC50gnzr0SFmgWl+NHR03cFjufWXgnEsxIRtMjXPS5BYCP4i N6k/qaufxc+7NkLm+kRklWATIX5Na551n3E4E9+swjn521MzUB7e4GklW4ivJRpg RqqBZsJUcAiTyeff6VlSBuV61bZpJ2WRTyPMpJFacTB18FzD96bhiKMuPBYVkHX5 DxBBRpBkKNJfk8Ab3GbjN3He476KFFftMuWc3uGuKNL1mDe6UrIaF9BgDjDO0KYa 85fAICRbaAuEesJEXxQbADvacPmuTmUh9YHdbo5pxEzv7D4Pte9hJQ7e82boXJDB FWOp7vhQWhb2vnW7/02G8ePsCIPmuolZtzQRVZUB3RjIxrZpV5cblpSp9rnSysld FvgBMWxAbgoENuqDMilCe4E4ZoV9GGzEz/rOeKyzZgN/Iwa4DENwkxb/kx9vixXG cE0kyth32J8IXrhZtkqxpm4F944jfr0guimoz417A47YPUsOauYZI0MHKASoAX9H YXOQ6cAWBcOZvZf2TkjX =fbYe -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

