Does Java polymorphism not work via the IDL Java Bridge? [message #85665] |
Sun, 25 August 2013 19:50  |
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?
|
|
|
|