Re: [ANN] Clojure 1.10.0-RC5

2018-12-11 Thread Mars0i
I have a couple of small apps that use interop pretty heavily because the 
Java library I'm using is very inheritance-based.  There are no  problems 
running with RC5 (although spec did find a syntax error that had passed in 
1.9).  I don't use reflection explicitly, but turning on 
*warn-on-reflection* generates a bunch of warnings in one of the apps, so I 
guess it's using reflection to figure out types at runtime.

-- 
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.


Re: [ANN] Clojure 1.10.0-RC5

2018-12-11 Thread Sean Corfield
And as you can no doubt imagine, we are already testing it at World Singles 
Networks (albeit on OpenJDK 8).

Sean

On Tuesday, December 11, 2018 at 1:37:42 PM UTC-8, Alex Miller wrote:
>
> 1.10.0-RC5 is now available. Please test, particularly if your 
> library/application uses interop calls and reflection...
>
> You can try it with clj using:
>
> clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-RC5"}}}'
>
> Changes in 1.10.0-RC5:
>
>- CLJ-2454  - fix 
>IllegalAccessException from invoking matching reflective call
>
> You can read the full 1.10 changelog here: 
> https://github.com/clojure/clojure/blob/master/changes.md
>

-- 
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.


Re: GraalVM's native-image incompatible with Clojure's eval?

2018-12-11 Thread Khalid Jebbari
Thank you Didier, I've seen this documentation about the reflection json
file. However it appears that even `(set! *warn-on-reflections true)`
doesn't always catch reflections. I suppose it means I have to use
profilers like jvisualvm (don't remember the exact name) to watch for calls
to reflection-related class/methods/functions to catch them, right ?

On Tue, Dec 11, 2018 at 6:40 AM Didier  wrote:

> You can give substratevm a reflection json file though. That did the trick
> for me.
>
> https://github.com/oracle/graal/blob/master/substratevm/REFLECTION.md
>
> So you just need to tell it in advance what class you will reflect on and
> how. Then it should work.
>
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/LMbNOg67wcw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.