Re: help needed - decompiling
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 00:11:07 GMT
On Wed, 29 Mar 2006 23:09:10 +0100, "Allan M. Bruce"
<allanmb@xxxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :
to sort that out, try writing some code with the synchronised keyword
and look aht how it decompiles.
Should it need to be synchronized? I am using a Hashtable which I believe
to be threadsafe, am I wrong?
Thanks
I don't know. You wrote the code. All I am doing is giving you a hint
where that strange decompiled code came from. If, for example, you
used a Hashtable instead of Hashmap it is synchronised even though it
does not need it.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- References:
- help needed - decompiling
- From: Allan M. Bruce
- Re: help needed - decompiling
- From: Roedy Green
- Re: help needed - decompiling
- From: Allan M. Bruce
- Re: help needed - decompiling
- From: Roedy Green
- Re: help needed - decompiling
- From: Allan M. Bruce
- help needed - decompiling
- Prev by Date: Re: help needed - decompiling
- Next by Date: Newbie question regarding packages
- Previous by thread: Re: help needed - decompiling
- Next by thread: Re: help needed - decompiling
- Index(es):