Thanks Peter,
Yeah, I didn't find that reference before. It would have saved me a couple 
hours. I found something similar in a few places, but it only had the 
primitive types. It missed the class specific element type.

On Tuesday, October 10, 2017 at 3:22:38 AM UTC-7, Peter Hull wrote:
>
> I actually preferred your solution, pericles, because it doesn't require 
> memorising the "[L...;" syntax, and works if you don't know the class at 
> compile time. By the way you can use make-array to create a zero size array 
> which might be (ever so slightly) more efficient.
>
> For reference (apologies if you already knew this), the class name syntax 
> is outlined here:
> https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html#getName-- 
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.oracle.com%2Fjavase%2F9%2Fdocs%2Fapi%2Fjava%2Flang%2FClass.html%23getName--&sa=D&sntz=1&usg=AFQjCNFseQgwy1eWPaU9wKuDVfLaa0sg-Q>
> and for the full details
> https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.9.1
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to