• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.util.Date version conflict  RSS feed

 
Amey Samant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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?
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!