Clojure

GC Issue 100: gen-class creating non-compliant field names

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.2
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

Reported by solkis, Apr 04, 2009

The defect was described in this clojure group post by Michael Reid: 

http://groups.google.com/group/clojure/browse_thread/thread/e64719d716c29ce0

It appears that IBM JVMs have more stringent field name checking than do
the Sun JVMs.

Classes generated by gen-class and executing on IBM JVMs used with the
WebSphere Application Server require the basic fix outlined in the patch on
the thread above or the following error will result:

java.lang.ClassFormatError: JVMCFRE114 field name is invalid;

Activity

Hide
Assembla Importer added a comment -

richhickey said: Updating tickets (#8, #42, #113, #2, #20, #94, #96, #104, #119, #124, #127, #149, #162)

Show
Assembla Importer added a comment - richhickey said: Updating tickets (#8, #42, #113, #2, #20, #94, #96, #104, #119, #124, #127, #149, #162)
Hide
Assembla Importer added a comment -

richhickey said: Updating tickets (#94, #96, #104, #119, #163)

Show
Assembla Importer added a comment - richhickey said: Updating tickets (#94, #96, #104, #119, #163)
Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - stu said: [file:cNfYU0r9qr348xeJe5d-aX]
Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - stu said: [file:akvHectnCr37JQeJe5dVir]
Hide
Assembla Importer added a comment -

stu said: Disregard the April 14 patch, and please take a look at the April 20 patch (which includes tests).

Show
Assembla Importer added a comment - stu said: Disregard the April 14 patch, and please take a look at the April 20 patch (which includes tests).
Hide
Assembla Importer added a comment -

stu said: (In [[r:084e5604710eb16df43ad529adabf18f40795bf9]]) munge genclass field names to keep Java side happy, see #104

Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>

Branch: master

Show
Assembla Importer added a comment - stu said: (In [[r:084e5604710eb16df43ad529adabf18f40795bf9]]) munge genclass field names to keep Java side happy, see #104 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> Branch: master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: