RE: [tcljava-user] jacl 1.3.1 for java 5
Brought to you by:
mdejong
From: Lehmann, E. {TR-I~Penzberg} <eck...@ro...> - 2005-01-04 10:26:45
|
Hi, > I have Java 5 installed on my box and doing a make on jacl returns the > following: >=20 > tcl/lang/TclClassLoader.java:535: as of release 1.5, 'enum'=20 > is a keyword, and may not be used as an identifier (try=20 > -source 1.4 or lower to use 'enum' as an identifier) > Enumeration enum; // List of the contents of the=20 > jar file. The message is right - since Java 1.5 "enum" is a keyword. I had this problem too and solved it by opening the file tcl/lang/TclClassLoader.java and substituting the enum identifier in line 535 (and ongoing references) by a different name.=20 It is a bug in Jacl (and Tclblend too) and should be filed as this, probably. Eckhard |