Hi,

On Aug 10, 2005, at 10:38 AM, Andy Jefferson wrote:

That exception is a NoSuchMethodError thrown by the enhanced code (see
below) of a class "PCPointSingleFieldDate" in methods
"jdoCopyKeyFieldsFromObjectId". I decompiled the code of that class. It
seems that the JPOX enhancer generates a java.util.Date constructor call
that does not exist. This is an excerpt of the decompiled code:


Already known about. 
Sadly the enhancer can't just put a call in to Craig's JDOImplHelper method to 
construct a date (since it needs AccessPriveleged adding to the enhanced 
classes etc, and since that has implications on enhancement). If that 
JDOImplHelper method was just a static call then it would be easy to do, but 
it isn't.

I hadn't thought of this. It's easy to make the methods static. I'll take a look at it.

Craig

-- 
Andy


Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to