|
Robert Upshall wrote: > > Does anybody know if ther are limitations to the number of params in a > java prototype? > > I am getting a NoSuchMethod error at untime. The prototype is a > constructor over a java class that has 22 params. The method in error > according to the green screen message is <init> and it is truncating the > signature portion so I cannot tellexactly what it is looking for. I > have double and triple checked the params on the rpg side and the java > and everything appears to be correct. > > Is there a parameter limit on java prototypes? > > Does anybody know how I can view the complete signature on a message id > RNQ0301? > If you're on V5R3, try PTF SI16825. If you're on V5R2, wait for PTF SI17279 (should be available within a week, x-fingers). There's probably a limit of 399 parameters on Java prototypes (inherited from the 399 limit for procedures), but there's a bug in the RPG runtime for prototypes with long signatures. Unfortunately, there's no way to see the complete signature on RNQ0301.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.