[pkg-java] r18066 - in trunk/libgroboutils-java/debian: . patches

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 24 22:07:03 UTC 2014


Author: ebourg-guest
Date: 2014-04-24 22:07:02 +0000 (Thu, 24 Apr 2014)
New Revision: 18066

Added:
   trunk/libgroboutils-java/debian/patches/07_fix_javac_crash.diff
Modified:
   trunk/libgroboutils-java/debian/changelog
   trunk/libgroboutils-java/debian/patches/series
Log:
Worked around a compiler crash caused by the use of 'enum' identifiers



Modified: trunk/libgroboutils-java/debian/changelog
===================================================================
--- trunk/libgroboutils-java/debian/changelog	2014-04-24 17:35:08 UTC (rev 18065)
+++ trunk/libgroboutils-java/debian/changelog	2014-04-24 22:07:02 UTC (rev 18066)
@@ -1,6 +1,8 @@
 libgroboutils-java (5-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Worked around a compiler crash caused by the use of 'enum' identifiers
+    (Closes: #738399)
   * debian/control:
     - Standards-Version updated to 3.9.5 (no changes)
   * Switch to debhelper level 9

Added: trunk/libgroboutils-java/debian/patches/07_fix_javac_crash.diff
===================================================================
--- trunk/libgroboutils-java/debian/patches/07_fix_javac_crash.diff	                        (rev 0)
+++ trunk/libgroboutils-java/debian/patches/07_fix_javac_crash.diff	2014-04-24 22:07:02 UTC (rev 18066)
@@ -0,0 +1,34 @@
+Description: Work around a compiler crash caused by the use of 'enum' identifiers
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+Bug-Debian: https://bugs.debian.org/738399
+--- a/testing-junit/sources/dev/net/sourceforge/groboutils/junit/v1/iftc/InterfaceTestSuite.java
++++ b/testing-junit/sources/dev/net/sourceforge/groboutils/junit/v1/iftc/InterfaceTestSuite.java
+@@ -198,10 +198,10 @@
+                 }
+                 else
+                 {
+-                    Enumeration enum = t.classes.elements();
+-                    while (enum.hasMoreElements())
++                    Enumeration e = t.classes.elements();
++                    while (e.hasMoreElements())
+                     {
+-                        addTestSuite( (Class)enum.nextElement() );
++                        addTestSuite( (Class)e.nextElement() );
+                     }
+                 }
+             }
+@@ -293,10 +293,10 @@
+         
+         ITestCreator tc = createTestCreator( this.creators );
+         TestClassCreator tcc = new TestClassCreator( tc );
+-        for (Enumeration enum = this.classes.elements();
+-            enum.hasMoreElements();)
++        for (Enumeration e = this.classes.elements();
++            e.hasMoreElements();)
+         {
+-            Class c = (Class)enum.nextElement();
++            Class c = (Class)e.nextElement();
+             loadTestSuite( c, tcc );
+         }
+         

Modified: trunk/libgroboutils-java/debian/patches/series
===================================================================
--- trunk/libgroboutils-java/debian/patches/series	2014-04-24 17:35:08 UTC (rev 18065)
+++ trunk/libgroboutils-java/debian/patches/series	2014-04-24 22:07:02 UTC (rev 18066)
@@ -4,3 +4,4 @@
 04_coverage_zip_archives.diff
 05_rename_subprojects.diff
 06_support_others_jdk.diff
+07_fix_javac_crash.diff




More information about the pkg-java-commits mailing list