Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 74999 invoked from network); 10 Aug 2005 17:39:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 17:39:04 -0000 Received: (qmail 39781 invoked by uid 500); 10 Aug 2005 17:39:04 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 39768 invoked by uid 99); 10 Aug 2005 17:39:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 10:39:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.174.133.99] (HELO roobarb.ajsoft.net) (81.174.133.99) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 10:39:23 -0700 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by roobarb.ajsoft.net (Postfix) with ESMTP id 4AF9711124 for ; Wed, 10 Aug 2005 18:38:54 +0100 (BST) From: Andy Jefferson To: jdo-dev@db.apache.org Subject: Re: JPOX enhancer bug Date: Wed, 10 Aug 2005 18:38:53 +0100 User-Agent: KMail/1.7.2 References: <42FA351C.3010409@spree.de> In-Reply-To: <42FA351C.3010409@spree.de> Organization: JPOX MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508101838.53832.andy@jpox.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > 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. -- Andy