ercpe       14/06/21 06:51:25

  Added:                1.12-fix-jdk-1.7-enum.patch
  Log:
  Bump to EAPI=5; fixed bug #514072: renamed variable named "enum" which cause 
compile errors with jdk 1.7
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
77C501ED)

Revision  Changes    Path
1.1                  dev-java/relaxngcc/files/1.12-fix-jdk-1.7-enum.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/relaxngcc/files/1.12-fix-jdk-1.7-enum.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/relaxngcc/files/1.12-fix-jdk-1.7-enum.patch?rev=1.1&content-type=text/plain

Index: 1.12-fix-jdk-1.7-enum.patch
===================================================================
diff --git a/relaxngcc-20031218/src/relaxngcc/javabody/JavaBodyParser.java 
b/relaxngcc-20031218/src/relaxngcc/javabody/JavaBodyParser.java
index b2f0e5e..bca566f 100644
--- a/relaxngcc-20031218/src/relaxngcc/javabody/JavaBodyParser.java
+++ b/relaxngcc-20031218/src/relaxngcc/javabody/JavaBodyParser.java
@@ -6850,8 +6850,8 @@ public class JavaBodyParser implements 
JavaBodyParserConstants {
         jj_expentry[i] = jj_lasttokens[i];
       }
       boolean exists = false;
-      for (java.util.Enumeration enum = jj_expentries.elements(); 
enum.hasMoreElements();) {
-        int[] oldentry = (int[])(enum.nextElement());
+      for (java.util.Enumeration enumx = jj_expentries.elements(); 
enumx.hasMoreElements();) {
+        int[] oldentry = (int[])(enumx.nextElement());
         if (oldentry.length == jj_expentry.length) {
           exists = true;
           for (int i = 0; i < jj_expentry.length; i++) {




Reply via email to