New submission from DANIELE C <danielececilia7@...>:
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.
----------
components: Core
messages: 4581
nosy: cdaniele
severity: major
status: open
title: Compilation error in SVN Release version 2.1
versions: 2.2.2
_______________________________________
Jython tracker <report@...>
<http://bugs.jython.org/issue1324&gt;
_______________________________________

Thread view

New submission from DANIELE C <danielececilia7@...>:
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.
----------
components: Core
messages: 4581
nosy: cdaniele
severity: major
status: open
title: Compilation error in SVN Release version 2.1
versions: 2.2.2
_______________________________________
Jython tracker <report@...>
<http://bugs.jython.org/issue1324&gt;
_______________________________________