[CLJ-1264] Minor change to Clojure source code to prevent warnings when compiled with JDK 8 Created: 17/Sep/13 Updated: 22/Nov/13 Resolved: 22/Nov/13
|Affects Version/s:||Release 1.5|
|Fix Version/s:||Release 1.6|
When compiling the Clojure source code using the early access version of JDK 8 (I saw this with 1.8.0-ea-b103 in particular), there are 6 warnings produced because the character _ is used as an identifier in Java source code.
The warning implies that this is likely to continue to be a warning for the lifetime of JDK 8, and could become an error with later JDKs.
Eliminating these warnings is as simple as changing the identifier name used on those 6 lines of one Java source file.
Screened by: Alex Miller
|Comment by Andy Fingerhut [ 17/Sep/13 11:23 PM ]|
Patch clj-1264-1.txt changes the identifier _ used on 6 lines of file PersistentHashMap.java to the name addedLeaf, which is used for a similar purpose elsewhere in the file.