My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 214: PropertyDescで、Object型でプロパティ定義してあって、配列を入れようとするとエラー
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Jun 2009


 
Project Member Reported by shinpei.ohtani@gmail.com, Jun 3, 2009
PropertyDescで、Object型でプロパティ定義してあって、配列を入れようとすると
エラーになる。

検証コード。
{{{
	public void testObjectArrayToObject() throws Exception {
		BeanDescImpl<Hoge> beanDesc = new BeanDescImpl<Hoge>(Hoge.class);
		PropertyDescImpl<Hoge> pd = (PropertyDescImpl<Hoge>) beanDesc
				.getPropertyDesc("mogemoge");
		Hoge hoge = new Hoge();
		Object[] args = new Object[] { "aaaaa" };
		pd.setValue(hoge, args);
		assertNotNull(hoge.getMogemoge());
	}

}}}
Jun 4, 2009
Project Member #1 shinpei.ohtani@gmail.com
修正しました。
Status: Fixed

Powered by Google Project Hosting