Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

Re: ParseException in message delay stamp due to microseconds

$
0
0

Phil Winder wrote:

 

No, this is in Java 1.7 at the moment. Stacktrace below. It crashes because it attempts to read the fourth digit in the microsecond stamp as a time zone identifier.

That's strange, because your testcase (found in the PR) was successful when I run it without truncating the fractions of seconds. But anyway, since XEP-82 allows any number of digits for the fractions, we must truncate it. I've decided to truncate to milliseconds, since this seems to work on every platform.

 

Thanks for your contribution and the issue report.

 

Consider it fixed.


Viewing all articles
Browse latest Browse all 11413

Trending Articles