fixed.

2010/6/17 Yan CRL Li <liyan...@cn.ibm.com>

>
> Hi,
>
> I found ValHashMap added into x10 runtime yesterday. I tested it with
> simple usage:
> _________________________________________________________________________
>          val x : HashMap[String, Int]! = new HashMap[String, Int]();
>          x.put("hey",1);
>          val y = ValHashMap.make[String, Int](x);
> _________________________________________________________________________
> It compiles correctly and broken when running, error :
> x10.lang.NullPointerException
>        at
> x10aux::ref<x10::util::HashMap__HashEntry<x10aux::ref<x10::lang::String>,
> int> >
>
> x10aux::nullCheck<x10::util::HashMap__HashEntry<x10aux::ref<x10::lang::String>,
>  int> >
> (x10aux::ref<x10::util::HashMap__HashEntry<x10aux::ref<x10::lang::String>,
> int> >)
>
> It brokens at line 45 in ValHashMap.x10.
>
> Has ValHashMap code been finished or not?  Or something wrong with my
> usage ?
>
> Thanks
>
> Li Yan (李严)
>
> System Group, IBM China Research Lab
> Tel: 8610-58748060
> Tieline: 11905-8060
> Add: Building 19 Zhongguancun Software Park, 8 Dongbeiwang WestRoad,
> Haidian District, Beijing, 100094, P.R.China
> E-mail: liyan...@cn.ibm.com
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to