Hi All,
My program is failing at MessageFormat:: format call when libraries are built in release mode. Same is passing when libraries are built in debug (-g) mode.
The format is calling is giving the U_IILEGALA_ARGU MENT_ERROR.
Here is the piece of code:
UErrorCode status = U_ZERO_ERROR;
count = 1;
UnicodeString msg = "Number of rows processed {0}";
Formattable args = new Formattable[count];
UnicodeString outputMsg;
MessageFormat:: format(msg, args, count,outputMsg ,status);
Here args has value as 10.
Can any one help me in understanding why this is failing on non debug mode only on solaris 10 ? The same code passes on AIX.
My program is failing at MessageFormat:: format call when libraries are built in release mode. Same is passing when libraries are built in debug (-g) mode.
The format is calling is giving the U_IILEGALA_ARGU MENT_ERROR.
Here is the piece of code:
UErrorCode status = U_ZERO_ERROR;
count = 1;
UnicodeString msg = "Number of rows processed {0}";
Formattable args = new Formattable[count];
UnicodeString outputMsg;
MessageFormat:: format(msg, args, count,outputMsg ,status);
Here args has value as 10.
Can any one help me in understanding why this is failing on non debug mode only on solaris 10 ? The same code passes on AIX.
Comment