Sean, It seems you have stumbled on an bug that's been there since day one...
If you look at the top of Class.pm you will see: my $RANGE = { 'java.lang.Long' => { REGEXP => $INT_RE, MAX => 2147483647, MIN => -2147483648, # MAX => 9223372036854775807, # MIN => -9223372036854775808, }, ... 'java.lang.Double' => { REGEXP => $FLOAT_RE, MAX => 3.4028235e38, MIN => -3.4028235e38, # MAX => 1.7976931348623157e308, # MIN => -1.7976931348623157e308, POS_MIN => 4.9e-324, NEG_MAX => -4.9e-324, }, For reasons I (unfortunately) do not remember, I shortened the ranges for long and double. I wil try to find sometime to fix this shortly. As a workaround you can change these values yourself (or skip the validation on Class.pm, line 191) and see of that works. Let me know if that works out for you. Patrick On Wed, 9 Feb 2005 16:49:15 -0500, Slotterback, Sean <[EMAIL PROTECTED]> wrote: > Java longs are 64 bits but inline java refuses to call a method with a > long argument that is more than 32 bits: > > In method description of class Test: Can't find any signature that > matches the arguments passed (1099511627776). > Available signatures are: > static eatBigLong(long) > error was: 1099511627776 out of range for type long at > /usr/local/lib/perl5/site_perl/5.6.1/Inline/Java/Object.pm line 101 at > test.pl line 266 > > Any help would be appreciated. > > Thanks, > Sean > > This e-mail message is intended only for the named recipient(s) above. It may > contain confidential information. If you are not the intended recipient you > are hereby notified that any dissemination, distribution or copying of this > e-mail and any attachment(s) is strictly prohibited. If you have received > this e-mail in error, please immediately notify the sender by replying to > this e-mail and delete the message and any attachment(s) from your system. > Thank you. > > -- ===================== Patrick LeBoutllier Laval, Québec, Canada