Yes.  The recent commit fixed the problem and I am back up and running.  I
guess that's the problem with living on the bleeding edge...

Chad Harrington
chad.harring...@gmail.com


On Wed, Aug 5, 2009 at 1:29 PM, Rob Wolfe <r...@smsnet.pl> wrote:

>
>
>
> Chad Harrington napisaƂ(a):
> > I just reinstalled my Clojure environment using the Emacs Starter Kit +
> > Clojure Mode.  The M-x clojure-install command has worked fine in the
> past,
> > but this time, it hits an error in compiling PersistentArrayMap.java:
> > ---------------------- Begin output
> > ---------------------------------------------------
> > clean:
> >
> > init:
> >     [mkdir] Created dir: /Users/chad/src/clojure/clojure/classes
> >
> > init-version:
> >      [copy] Copying 1 file to /Users/chad/src/clojure/clojure
> >
> > compile-java:
> >     [javac] Compiling 132 source files to
> > /Users/chad/src/clojure/clojure/classes
> >     [javac]
> >
> /Users/chad/src/clojure/clojure/src/jvm/clojure/lang/PersistentArrayMap.java:333:
> > cannot find symbol
> >     [javac] symbol  : method copyOf(java.lang.Object[],int)
> >     [javac] location: class java.util.Arrays
> >     [javac]         return new PersistentArrayMap(Arrays.copyOf(array,
> > len));
> >     [javac]                                                     ^
> >     [javac] Note: Some input files use unchecked or unsafe operations.
> >     [javac] Note: Recompile with -Xlint:unchecked for details.
> >     [javac] 1 error
> >
> > BUILD FAILED
> > /Users/chad/src/clojure/clojure/build.xml:82: Compile failed; see the
> > compiler error output for details.
> >
> > Total time: 3 seconds
> > ---------------------- End output
> > ---------------------------------------------------
> > The M-x clojure-install command checks out the latest clojure using:
> > "git clone git://github.com/richhickey/clojure.git"
> > so I am assuming that this is a recently-introduced issue.
> > Does anyone know what is going on here?
>
> It works for me:
>
> $ git pull
> Already up-to-date.
> $ git log HEAD^!
> commit 2098f5d57ecf3affb09a4cdaf2e01ad4de861eef
> Author: Rich Hickey <richhic...@gmail.com>
> Date:   Wed Aug 5 14:29:32 2009 -0400
>
>    replace copyOf with arrayCopy
> $ java -version
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
>
> Last commit seems to solve the problem you mentioned.
>
> HTH,
> Rob
>
> >
>

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

Reply via email to