Java interface methods with incorrect values (multiple DOUBLE datatypes in
method params)
-----------------------------------------------------------------------------------------
Key: JRUBY-3409
URL: http://jira.codehaus.org/browse/JRUBY-3409
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.6
Environment: Win XP
Reporter: Art Collins
Hi,
I'm running JRuby 1.1.6 and experiencing an issue that is very similar to
http://jira.codehaus.org/browse/JRUBY-2993
I'm writing a JRuby program that uses Interactive Broker's TWS API (written
in Java).
One of the classes uses a Java interface with the following spec:
void historicalData(int reqId, String date, double open, double high,
double low,
double close, int volume, int count, double WAP,
boolean hasGaps);
When I implement the class in Java, this call back method contains the
correct parameter values.
The equivalent in JRuby seems to return the correct value up to 'open' (the
3rd parameter). Values starting at 'high' and all after that are incorrect.
I have further documented and showed examples on my blog at:
http://tradingbot.blogspot.com
under post PROOF OF CONCEPT 8 OF 8B: HISTORICAL QUOTE
Please let me know if there's any other info I can provide.
Thank you,
Art
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email