• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

java.util.Date version conflict

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in jdk1.3 java.util.Date has a member of Calendar which in turn has java.util.SimpleTimeZone. However in j2se 1.4 onwards this has changed to sun.util.Calendar.ZoneInfo
Due to this some of our webservices code which was running smoothly has started giving issues with the 1.4 version.
we have a timestamp tag which has corresponding castor type method which returns Date object but now this is returning NullPointer as it is not able to parse the date value (which it used to earlier)

Any idea how to resolve this version conflict and fix the issue ?
Has anyone faced similar problems?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not post the same question multiple times. It causes confusion and duplication of effort as the community tries to help everyone.
 
Amey Samant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well sorry but i did not find a way to "cross-post" this question and hence the duplication.
and in the link provided by you it says choose one forum carefully.
i personally do not agree. as you can see that i am facing this issue in webservices however the root cause may be in general java issues and hence an attempt to cross-post.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just because you disagree with one of the rules we have here doesn't mean you can just ignore it. The question really has nothing to do with web services, and as such doesn't belong in this forum. It's no big deal, just remember it next time.

(By the way, cross-posting is the same as posting duplicates.)
 
Amey Samant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
alright.
but cross posting is not posting duplicates.
cross posting is a feature which allows 1 to post in multiple (relevant) forums at one shot.
it works because many-a-times the problem is closely related to many categories and is hard to classify under one category or also maybe the O.P. is not aware of the precise category (benefit of doubt)
it does not mean posting manually at multiple forums like i had to do.

anyways my apologies if i've violated the rules.

cheers
- ameyas7
reply
    Bookmark Topic Watch Topic
  • New Topic