public inbox for [email protected]
help / color / mirror / Atom feedSubject: [Pljava-dev] Arrays support for object views
Date: Wed, 8 Oct 2008 20:04:37 -0400 (EDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On Fri, 26 Sep 2008, Krzysztof Nienartowicz wrote:
>
> By using simply:
> receiver.updateObject(5, new Double[]{1.0,2.0,3.0});
> I finally don't get any errors but the values are not related to the array
> set and always stay the same. Seems they are not initialized properly even.
When I test the same here, I get a crash. Pljava is trying to read the
Double[] as if it was a double[] and that's blowing up. If I change the
array to Datum conversion code to expect Double[] it works, but naturally
other places that are now passing double[] blow up. Pljava has some
smarts about how double and Double are interchangeable, but I'm guessing
that hasn't propagated all the way through the array code. I don't really
understand how the whole type system is supposed to work, so it's
difficult to figure out how to fix this.
Kris Jurka
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Subject: Re: [Pljava-dev] Arrays support for object views
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox