This is issue #104 (which was called #100 in the old system.) http://www.assembla.com/spaces/clojure/tickets/104-GC-Issue-100--gen-class-creating-non-compliant-field-names-
A simple patch was originally suggested here: http://groups.google.com/group/clojure/browse_thread/thread/e64719d716c29ce0 This patch fixed the issue for me on the IBM JDK. I'll submit a patch this time. On Sep 6, 7:13 am, David Andrews <dammi...@gmail.com> wrote: > Is there a known problem with the IBM JDK and clojure-contrib? > > I first encountered errors when trying to load pprint under the 1.5 > IBM JDK on a zSeries system: > > JVMJZBL1023N Invoking clojure.main.main()... > JVMJZBL2010E Exception occurred invoking clojure.main.main() > JVMJZBL2007E Stack trace follows: > java.lang.ClassFormatError: (clojure/contrib/pprint/PrettyWriter) > field name is invalid at offset=0 (pprint.clj:6) > > I thought it might be an issue with the 1.5 JDK (which is all I have > on my zSeries box), so I reproduced the problem with both the 1.5 and > 1.6 level IBM JDKs under Linux x86. clojure-contrib simply won't > build with the IBM JDK in the system: > > $ ant -Dclojure.jar=../clojure/clojure.jar > ... > compile_classes: > [java] Compiling clojure.contrib.pprint.ColumnWriter to /home/dba/ > src/clojure-contrib/classes > [java] java.lang.ClassFormatError: JVMCFRE114 field name is > invalid; class=clojure/contrib/pprint/ColumnWriter, offset=0 > (ColumnWriter.clj:36) > ... > compile_clojure: > [java] java.lang.ClassFormatError: JVMCFRE114 field name is > invalid; class=clojure/contrib/condition/Condition, offset=0 > (condition.clj:14) > > Any ideas how can I proceed? I'm stuck with the IBM JDK on the IBM > box. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---