Welcome! Please see the About page for a little more info on how this works.

0 votes
in Java Interop by

When extending parameterized types, class files can track the original signatures of the superclass and super interfaces so that the original types can be obtained at run time. This runtime reflection is used in some Java frameworks, and implementing it in Clojure can enable interop. See http://groups.google.com/group/clojure/browse_thread/thread/5efd692804df3f47/1336e591c2eedfa1 for examples of this request.

This proposal checks the :parameters keyword in type meta information. If a parameter is found, it is added to the class signature.

3 Answers

0 votes
by

Comment made by: jim.blomo

2012-04-14 extend-implement-parameterized-types.diff is the correctly formatted git format-patch master for this change. It supersedes clojure-parameterized-generics.diff from 2012-04-10.

0 votes
by

Comment made by: jafingerhut

Patch clj-970-extend-implement-parameterized-types-patch2.txt dated Aug 19 2012 is identical to Jim Blomo's patch extend-implement-parameterized-types.diff dated Apr 14 2012, except it has updated context lines so that it applies cleanly to latest master as of today.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-970 (reported by jim.blomo)
...