× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2011/3/8 11:17 AM, mikemonger@xxxxxxx wrote:

See, here's the funny part about that static keyword.

If I don't include it, the program won't compile unless I include the
return variable as the first parameter in the prototype call.
...
And the issue doesn't seem to be whether to method is static or not
inthe class. I'm getting the same thing no matter how I define it.


If the Java method has the static keyword, then the RPG prototype needs the STATIC keyword. It will never work unless the static-ness of the prototype matches the static-ness of the Java method itself.

It would be nice if the RPG message said whether it was calling a static method or an instance method. But even though the RPG message doesn't mention that as a possibility for the error, that is indeed the source of your error.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.