Issue1324
Created on 2009-04-23.10:16:28 by cdaniele, last changed 2009-04-24.10:09:51 by otmarhumbel.
Messages | |||
---|---|---|---|
msg4581 (view) | Author: DANIELE C (cdaniele) | Date: 2009-04-23.10:16:27 | |
SVN Release version : 2.1 Problem: Compilation error [javac] C:\apps\jython\Lib\jxxload_help\DiscardHelp.java:20 : as of release 5. enum is a keyword, and may not be used as an identifier for(javav.util.Enumeration enum=interfaces.elements(); enum.hasMoreElements();) ^ [javac] C:\apps\jython\Lib\jxxload_help\DiscardHelp.java:20 : as of release 5. enum is a keyword, and may not be used as an identifier for(javav.util.Enumeration enum=interfaces.elements(); enum.hasMoreElements();) ^ [javac] C:\apps\jython\Lib\jxxload_help\DiscardHelp.java:21 : as of release 5. enum is a keyword, and may not be used as an identifier Class intf = (Class)enum.nextElement(); ^ [javac] C:\apps\jython\Lib\jxxload_heal\PathVFS.java:90 : as of release 5. enum is a keyword, and may not be used as an identifier for(Enumeration enum = vfs.elements(); enum.hasMoreElements();) ^ [javac] C:\apps\jython\Lib\jxxload_heal\PathVFS.java:90 : as of release 5. enum is a keyword, and may not be used as an identifier for(Enumeration enum = vfs.elements(); enum.hasMoreElements();) ^ [javac] C:\apps\jython\Lib\jxxload_heal\PathVFS.java:91 : as of release 5. enum is a keyword, and may not be used as an identifier VFS v = (VFS)enum.nextElement(); ^ Solution : replace "enum" with "e" in these four lines : C:\apps\jython\Lib\jxxload_heal\DiscardHelp:20 for(javav.util.Enumeration e=interfaces.elements(); e.hasMoreElements();) C:\apps\jython\Lib\jxxload_heal\DiscardHelp:21 Class intf = (Class)e.nextElement(); C:\apps\jython\Lib\jxxload_heal\PathVFS.java:90 for(Enumeration e = vfs.elements(); e.hasMoreElements();) C:\apps\jython\Lib\jxxload_heal\PathVFS.java:91 VFS v = (VFS)e.nextElement(); !!! : Please release your code. |
|||
msg4588 (view) | Author: Oti Humbel (otmarhumbel) | Date: 2009-04-24.10:09:50 | |
2.x versions need to be compiled with java 1.4.2. However, running 2.2.1 under java 1.5 or higher is no problem. Tip: 2.1 is out of date, consider using 2.2.1 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2009-04-24 10:09:51 | otmarhumbel | set | status: open -> closed resolution: works for me messages: + msg4588 nosy: + otmarhumbel |
2009-04-23 10:16:28 | cdaniele | create |
Supported by Python Software Foundation,
Powered by Roundup