• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JiBX date conversion error/strange long<int comparison

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Our first order of business must be this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic