Skip to content

Instantly share code, notes, and snippets.

@richhickey
Created June 8, 2010 15:35
Show Gist options
  • Save richhickey/430205 to your computer and use it in GitHub Desktop.
Save richhickey/430205 to your computer and use it in GitHub Desktop.
[java] FAIL in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Retention(?) String)
[java] expected: (instance? Retention retention)
[java] actual: $Proxy2
[java]
[java] FAIL in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Target(?) String)
[java] expected: (instance? Target target)
[java] actual: $Proxy1
[java]
[java] ERROR in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Target(?) String)
[java] expected: (= [ElementType/TYPE ElementType/PARAMETER] (seq (.value target)))
[java] actual: java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.annotation.RetentionPolicy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment