Package: libjboss-classloader-java Version: 2.0.6.GA-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch openjdk-7-transition
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * Fix FTBFS with openjdk-7 as default java (LP: #1009465): - d/p/java7-compat.patch: Compatiblity patch for Java 7. Erasure semantics are stricter in Java 7; this patch hits the code with a hammer to avoid the compilation issue and is pretty ugly but works. Thanks for considering the patch. - -- System Information: Debian Release: wheezy/sid APT prefers quantal-updates APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5.0-10-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQK4rRAAoJEL/srsug59jDy3QP/0kx0TWeH0AWd66aE4Cd3w/Y XW4bZ4dDCrD/Q11wJnDexZD9iT0GB6fZQjIQcPUucb88dfXPWIsVqX7SEBinxgZ9 1SajReh8CHFE7nZDFfVJ+v8jfu8pi2RXcHpc3sw1/PYx31pazqnRs1Vb9FZrLP7z UHSAJ1a4AGr/z0xFDO4ssW33vGd7iO1AI5WJ6+w3P/UOU3ImVpKs0zPFfXCmL68Q RrEfCAuuDTkJaPvmUQryDsOHigLCKp/7QSYlh1vPNu9YjGLCSxw8AOpkVFrIsXWQ HGo7+EQnknFGISh7OqKASBh7Rs2QZ15DOkfEVMtgIt2is7yxrL+eV4fJn86uhVLq qo7yZ4TUo4Xg723E4D+cn4zjU5EcZshH2m7CXwfaFU5Eb3nceRpnYQyhsMWhl9rI 0qimDs/EcYP1c+W792fDS0Qn8vnf/9doVjjZGWYPqZtNOmep7vbqFOJ3xYHXMLrr N2k/NFfYhBSkGN3vvXuOsI1iXCMweh5HG6JVYKI5en2zcNpBQ2EQywmOHKqc9qPb MwBN+hzptjGLcblGzmeeebJps9K/hKZdcwcO9d7QNcND7cs7WyvZrB1h1o75EAQU OodfIxbfxgN+MXBvR/VAM8g4qm3QR7GouGLOkMxeSQCasmzJsmE0PgMqM5Qdjdlz uGGLBCwiOSFKkzWur7Wt =XNJk -----END PGP SIGNATURE-----
diff -Nru libjboss-classloader-java-2.0.6.GA/debian/changelog libjboss-classloader-java-2.0.6.GA/debian/changelog diff -Nru libjboss-classloader-java-2.0.6.GA/debian/patches/java7-compat.patch libjboss-classloader-java-2.0.6.GA/debian/patches/java7-compat.patch --- libjboss-classloader-java-2.0.6.GA/debian/patches/java7-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ libjboss-classloader-java-2.0.6.GA/debian/patches/java7-compat.patch 2012-08-15 12:33:40.000000000 +0100 @@ -0,0 +1,20 @@ +Description: Compatibility Patch for Java 7 + Avoiding: + error: name clash: suite(Class<?>) in IsolatedClassLoaderTest and suite(Class) \ + in AbstractTestCaseWithSetup have the same erasure, \ + yet neither hides the other + . + Class<?> and Class match in Java7 compiler semantics - so dropping the <?> is OK. +Author: James Page <james.p...@ubuntu.com> +Forwarded: no +--- a/classloader/src/main/java/org/jboss/classloader/test/support/IsolatedClassLoaderTest.java ++++ b/classloader/src/main/java/org/jboss/classloader/test/support/IsolatedClassLoaderTest.java +@@ -58,7 +58,7 @@ public abstract class IsolatedClassLoade + * @param clazz the test class + * @return the test + */ +- public static Test suite(Class<?> clazz) ++ public static Test suite(Class clazz) + { + return suite(clazz, false); + } diff -Nru libjboss-classloader-java-2.0.6.GA/debian/patches/series libjboss-classloader-java-2.0.6.GA/debian/patches/series --- libjboss-classloader-java-2.0.6.GA/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libjboss-classloader-java-2.0.6.GA/debian/patches/series 2012-08-15 12:28:46.000000000 +0100 @@ -0,0 +1 @@ +java7-compat.patch