R
Richard Reynolds
Guys, I'm updating some legacy code from Java 1.3.1 to at least 1.4.2_13.
It's a CORBA app (Orbix) and the idl has many modules with many data
members.
The orbix idlj generates two constructors: a no param constructor and one
that takes all data members as params. The later can have hundreds of params
and somewhere between Java 1.3.1 and 1.4.2 a limit seems to have been placed
on the number of params to around 255, or at least that's the limit I've
seen mentioned in a couple of places retrieved from Google searches.
I was wondering if anyone knows if this limit has been lifted in any later
Java version or if there're any compiler options to disable it?
I've also posted on the Orbzone forum to see if there's an Orbix 6.3 idlj
option to stop it adding these constrctors but I'm not hopeful there.
P.S. I'm very limited in messing with the build as it has to be compliant
with a very restrictive compliance system that monitors technology
compatibilities etc.
I am also assuming that there was no param limit in 1.3.1 as the component
must have built before, though thinking about it I should try that tomorrow
as I guess it could've been fudged by messing with the generated Java files,
or possibly the previous Orbix version, 5.1, didn't generate these
constructors by default.
Cheers, Richard.
It's a CORBA app (Orbix) and the idl has many modules with many data
members.
The orbix idlj generates two constructors: a no param constructor and one
that takes all data members as params. The later can have hundreds of params
and somewhere between Java 1.3.1 and 1.4.2 a limit seems to have been placed
on the number of params to around 255, or at least that's the limit I've
seen mentioned in a couple of places retrieved from Google searches.
I was wondering if anyone knows if this limit has been lifted in any later
Java version or if there're any compiler options to disable it?
I've also posted on the Orbzone forum to see if there's an Orbix 6.3 idlj
option to stop it adding these constrctors but I'm not hopeful there.
P.S. I'm very limited in messing with the build as it has to be compliant
with a very restrictive compliance system that monitors technology
compatibilities etc.
I am also assuming that there was no param limit in 1.3.1 as the component
must have built before, though thinking about it I should try that tomorrow
as I guess it could've been fudged by messing with the generated Java files,
or possibly the previous Orbix version, 5.1, didn't generate these
constructors by default.
Cheers, Richard.