wood burning stoves*
The moose likes Java in General and the fly likes JiBX date conversion error/strange long<int comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JiBX date conversion error/strange long<int comparison" Watch "JiBX date conversion error/strange long<int comparison" New topic
Author

JiBX date conversion error/strange long<int comparison

Krzysztof Nowak
Greenhorn

Joined: Dec 06, 2012
Posts: 1
Hello,

I have strange problems while working with JiBX library and converting date to string. I added some logs inside the source code and it now looks like this:



Output is:


Why on earth did JVM resolved statement at line 5 as true? What is more interesting, i cant re-do the problem in my Eclipse/Oracle JVM, it just occurs on my client's server (Websphere AS 8/IBM JVM) and it works fine most of the time, but after several hours of correct work it starts to make errors in date conversion just as shown above. When the problem occurs, it repeats until the server is restarted, then its OK again for several hours until next failure. Seems like some environment/JVM problem to me, but i can't figure out how can this logical statement become true anyway. Please help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JiBX date conversion error/strange long<int comparison
 
Similar Threads
confusion.
JVM problem or threads deadlock
What class to use for date-related calculations.
my notes on JLS for any1 who needs them !!
How do I use 1 boolean statement for 2 variables ?