[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Maybe a bug?
I've recently started using Ozone in a Small Fault Tracking application
and I think I've discovered a consistant error with the OPP,
I'm calling objects in Ozone to have them report information contained
within
by formatting the information internally and passing the result back as
an Object[][];
everytime I run OPP on one of the classes( there are four Classes with
similar methods in the project );
each time the OPP malforms the return code like so.
>> public [Ljava.lang.Object;[] getUsers () {
>> try {
>> Object target = link.fetch (this, Lock.LEVEL_READ); >>
if (target != null) {
>> return
([Ljava.lang.Object;[])ResultConverter.substituteOzoneCompatibles >>
(((FaultLine.ODBControls.UserSetImpl)target).getUsers());
>> }
>> else {
>> Object[] args = {};
>> Object result = link.invoke (this, 8, args,
Lock.LEVEL_READ);
>> return ([Ljava.lang.Object;[])result;
I'm using RH 6.2 Linux, coding with Forte,
on the SUN 1.3betaJDK
(although it's the same on the SUN 1.2.2 JDK)
as you can see from the code, OPP malforms the return each time,
consistantly.
Doing the obvious and editing the code to the correct
"java.lang.Object[][]" works and things compile, unfortunatly, I'm to
early to start proper testing and the classes have no clients yet, Is
this a bug, a feature or something I'm doing wrong,
Great database, by the way.
Sean Allen.