forrozeiro
Programmer
Hi there.
I think I've found a bug on IBM Developer Kit 1.2.2 in an AIX 4.3. I would like to know whether anyone of you has experienced this bug. Please consider the following method:
public String crazyMethod( long aLongParam ) {
....
}
When I call the above method like this:
crazyMethod( anObject.getSomeLongValue() )
Inside crazyMethod, aLongParam has a value which is much different from the one returned by anObject.getSomeLongValue(). However, if I do this:
long value = anObject.getSomeLongValue();
crazyMethod( value );
It works fine. Notice that the parameter is declared long, the anObject.getSomeLongValue return value is declared long
and it returns a anObject's private variable, which is a long.
If I upgrade to IBM DK 1.3.1, will the problem be solved ? Is there any patch to eliminate that bug ?
Thank you in advance.
I think I've found a bug on IBM Developer Kit 1.2.2 in an AIX 4.3. I would like to know whether anyone of you has experienced this bug. Please consider the following method:
public String crazyMethod( long aLongParam ) {
....
}
When I call the above method like this:
crazyMethod( anObject.getSomeLongValue() )
Inside crazyMethod, aLongParam has a value which is much different from the one returned by anObject.getSomeLongValue(). However, if I do this:
long value = anObject.getSomeLongValue();
crazyMethod( value );
It works fine. Notice that the parameter is declared long, the anObject.getSomeLongValue return value is declared long
and it returns a anObject's private variable, which is a long.
If I upgrade to IBM DK 1.3.1, will the problem be solved ? Is there any patch to eliminate that bug ?
Thank you in advance.