From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 7D076BB9B for ; Wed, 19 Oct 2005 21:12:35 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9JJCYDg028591 for ; Wed, 19 Oct 2005 21:12:35 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA09778 for ; Wed, 19 Oct 2005 21:12:34 +0200 (MET DST) Received: from parmail01.sgcib.com (parmail01.sgcib.com [207.45.250.33]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9JJCXWi019374; Wed, 19 Oct 2005 21:12:34 +0200 X-IronPort-AV: i="3.97,231,1125871200"; d="scan'208,217"; a="49642368:sNHT35572800" Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5D4E1.0E8C9AF3" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Error in camljava library when accessing a double field Date: Wed, 19 Oct 2005 21:12:32 +0200 Message-ID: <7F070E410B10EE419826BF5206322CC20950DC@frdef-exmb01.europe.am.socgen> Thread-Topic: Error in camljava library when accessing a double field Thread-Index: AcXU4SEqsEJHLz8tEdqF/wAQtY90HA== From: "EL CHAAR Rabih SGAM/AI/SAM" To: Cc: X-OriginalArrivalTime: 19 Oct 2005 19:12:33.0321 (UTC) FILETIME=[0EEF2190:01C5D4E1] X-Miltered: at concorde with ID 43569AA2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43569AA1.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; camljava:01 camljava:01 jni:01 mli:01 jni:01 mlp:01 cvs:01 mli:01 mlp:01 cvs:01 unauthorised:98 subsidiaries:98 affiliates:98 unauthorised:98 subsidiaries:98 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=disabled version=3.0.3 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5D4E1.0E8C9AF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hello, i've stumbled by chance when using the camljava library on the following pr= oblem : accessing a double field inside an object was always returning 0. (in caml). After some investigations, i came to the conclusion that this is due to the= following error =20 the function definded in jni.mli lines114-115 external get_double_field: obj -> fieldID -> float =3D "camljava_GetFloatField" it should be=20 external get_double_field: obj -> fieldID -> float =3D "camljava_GetDoubleField =20 This solves the problem (changes to do in jni.mlp also). =20 Is it possible to correct this in the cvs version ? This work should be done also to the set field, and the setter and getter f= or static fields (line 135, line 157 and line 178). =20 Thanks in advance =20 Rabih ************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont confid= entiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.=20 Tout message electronique est susceptible d'alteration.=20 SG Asset Management et ses filiales declinent toute responsabilite au titre= de ce message s'il a ete altere, deforme ou falsifie. Decouvrez l'offre et les services de SG Asset Management sur le site www.sg= am.fr=20 ******** This message and any attachments (the "message") are confidential and inten= ded solely for the addressees. Any unauthorised use or dissemination is prohibited.=20 E-mails are susceptible to alteration.=20 Neither SG Asset Management nor any of its subsidiaries or affiliates shall= be liable for the message if altered, changed or falsified.=20 ************************************************************************* ------_=_NextPart_001_01C5D4E1.0E8C9AF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Hello,
i've stum= bled by=20 chance when using the camljava library on the following problem=20 :
accessing= a double=20 field inside an object was always returning 0. (in caml).
After som= e=20 investigations, i came to the conclusion that this is due to the following=20 error
 
the funct= ion=20 definded in jni.mli lines114-115
external get_double_field: obj -> fieldID -> float
        =3D "camljava_GetFloatField"
it should be 
external get_double_field: obj -> fieldID -> float
        =3D "camljava_GetDoubleField
 
This=
 solves the problem (changes to do in jni.mlp also).
 
=
Is it possible to correct this in the cvs version ?
This wor=
k should be done also to the set field, and the setter and getter for stati=
c fields (line 135, line 157 and line 178).
 
Than=
ks in advance
 
Rabih
*******************************************************************=
******
Ce message et toutes les pieces jointes (ci-apres le "message") sont confid=
entiels et etablis a l'intention exclusive de ses
destinataires.
Toute utilisation ou diffusion non autorisee est interdite.=20
Tout message electronique est susceptible d'alteration.=20
SG Asset Management et ses filiales declinent toute responsabilite au titre=
 de ce message s'il a ete altere, deforme ou falsifie.

Decouvrez l'offre et les services de SG Asset Management sur le site www.sg=
am.fr=20

                                ********

This message and any attachments (the "message") are confidential and inten=
ded solely for the addressees.
Any unauthorised use or dissemination is prohibited.=20
E-mails are susceptible to alteration.=20
Neither SG Asset Management nor any of its subsidiaries or affiliates shall=
 be liable for the message if altered, changed or
falsified.=20

*************************************************************************
------_=_NextPart_001_01C5D4E1.0E8C9AF3--