comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Does Java polymorphism not work via the IDL Java Bridge?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Does Java polymorphism not work via the IDL Java Bridge? [message #85665] Sun, 25 August 2013 19:50 Go to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
I'm working on a project in conjugation with a Java developer. I'm writing an IDL 'wrapper' around his Java code using the Java bridge so that our organisation has a consistent interface to a database in Java and IDL.

Anyhoo, my immediate problem is that the Java Bridge seems to not understand Java polymorphism. There is a Java method that takes a java 'Calendar' object as an argument. I'm giving it a 'Gregoian Calendar' object, which is a sub-class of Calendar so that should be ok. However, it complains that it can't find the appropriate method. I guess I can look into downcasting the object to a Calendar, but it seems awfully crippling for the Java bridge to not be able to handle this.

Am I missing something here?
[Message index]
 
Read Message
Read Message
Previous Topic: Help with least squares on non-linear function
Next Topic: programmatically compile a procedure without a .pro extension

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:48:22 PDT 2025

Total time taken to generate the page: 0.08098 seconds