Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IBM DK 1.2.2 bug

Status
Not open for further replies.

forrozeiro

Programmer
Sep 1, 2001
38
0
0
BR
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top