Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Hidelein --version
Leiningen 1.4.2 on Java 1.6.0_26 Java HotSpot(TM) 64-Bit Server VM
The project.clj file is as follows:
(defproject redblack "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[org.clojure/core.match "0.2.0-SNAPSHOT"]]
:dev-dependencies [[swank-clojure "1.3.0-SNAPSHOT"]])
core.match is compiled and installed using the above environment by issuing mvn installShowlein --version Leiningen 1.4.2 on Java 1.6.0_26 Java HotSpot(TM) 64-Bit Server VM The project.clj file is as follows: (defproject redblack "1.0.0-SNAPSHOT" :description "FIXME: write" :dependencies [[org.clojure/clojure "1.2.0"] [org.clojure/clojure-contrib "1.2.0"] [org.clojure/core.match "0.2.0-SNAPSHOT"]] :dev-dependencies [[swank-clojure "1.3.0-SNAPSHOT"]]) core.match is compiled and installed using the above environment by issuing mvn install
Description
The issue is the same as stated on
https://github.com/swannodette/match/issues/54
but moved here as a part of moving match to Clojure contrib.
Here is a copy of the text from the issue above:
After having forked the latest version on branch and compiling I attempted to execute the infamous red-black tree rebalancing code.
(let [node nil]
(match/match
[node]
[([:black [:red [:red a x b] y c] z d] |
[:black [:red a x [:red b y c]] z d] |
[:black a x [:red [:red b y c] z d]] |
[:black a x [:red b y [:red c z d]]])]
[:red [:black a x b] y [:black c z d]]))
The good news is that issue issue 47 is indeed resolved. The bad news is that a new issue has cropped up, namely that the ClassFormatError with the message
error: java.lang.ClassFormatError: Invalid method Code length 78596 in class file redblack/core$eval3306 (core.clj:10)
is raised.
Do you encounter this error at the REPL?