Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Backlog
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Environment:IBM JDK on Hudson, http://build.clojure.org/job/ibm-jdk-clojure-build/
-
Patch:Code and Test
-
Approval:Ok
Description
A test for reify looks for an error message matching a specific regex, which fails on IBM JDK:
FAIL in (reify-test) (
you can't define a method twice
expected: (fails-with-cause? java.lang.ClassFormatError #"^(Repetitive|Duplicate) method name" (eval (quote (reify java.util.List (size [_] 10) java.util.Collection (size [_] 20)))))
actual: #<CompilerException java.lang.ClassFormatError: (clojure/test_clojure$eval17188$reify__17189) duplicate method at offset=1052, compiling/var/lib/hudson/jobs/ibm-jdk-clojure-build/workspace/src/script/run_tests.clj:257)>
Patch 0728-reify-exceptions-1.patch.gz changes the test to not check for specific types or messages on the exceptions.