I've seen non-determinism across machines with regard to multiple
namespaces being searched to AOT with the clojure-maven plugin (only
noticed because it resulted in an error). The workaround was to specify a
single entry point namespace to clojure-maven and let the clojure compiler
sort out namespace dependency order.

On Jan 23, 2017 6:24 PM, "'William Parker' via Clojure" <
clojure@googlegroups.com> wrote:

> Clojure 1.8 both before and after; I should have put that in my original
> post.  As far as I'm aware there were no changes of any kind in the
> environment or code between the failing state and the successful one,
> although since I don't control our CI environment it is possible there were
> environmental changes I'm not aware of (it is a large enterprise
> environment with many different teams potentially making changes).
> Unfortunately I've been unable to change anything such as JVM versions in
> my local environment to get the code to compile but I'll post back here if
> I find some such method.  Without the ability to duplicate the difference
> there probably isn't much debugging that can be done but I was curious if
> there are known issues that could lead to such problems.
>
> On Monday, January 23, 2017 at 4:19:44 PM UTC-6, Alex Miller wrote:
>>
>> Most helpful would be to know what Clojure version you are on now and
>> what changed between when it didn't fail and when it did.
>>
>> There have been a variety of changes to both type hints and classloading
>> over the last few releases and it's likely that the error is now simply
>> found when it was silently not found and ignored before.
>>
>> On Monday, January 23, 2017 at 3:01:38 PM UTC-6, William Parker wrote:
>>>
>>> I have a case where JVM Clojure code like (some-> ^JavaClassA this
>>> ^FieldTypeA (.getFieldTypeA) (.getFieldTypeB)) previously compiled for a
>>> long time and suddenly just started failing in our CI system because the
>>> class FieldTypeA wasn’t imported in the namespace.  I understand the need
>>> to import the class but I don’t see why it ever compiled and am wondering
>>> if there is any known nondeterminism here.  I looked through the Clojure
>>> JIRA tracker but didn't find anything that seemed related.
>>>
>> --
> 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.
>

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