Link to home
Start Free TrialLog in
Avatar of d2marcelo
d2marcelo

asked on

Java ArrayList on AIX vs Windows

Hi , newbie question.
When I populate an arraylist and get the index 1
on aix it prints the first element of the list
and on windows it prints the second element (because here it starts at 0)

why is that?

ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of d2marcelo
d2marcelo

ASKER

yes,  found a terrible bug that I setting it to -1 based on the os version.
:-)