i tried with the most recent nightly build, to no avail. i'm attaching a small
class that demonstrates the bug. hope this helps!
flavio
/**
* @author Flavio Tordini
* @version $Id$
*/
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.beanutils.BeanUtils;
public class MappedPropertyTest {
Map mappedproperty = new HashMap();
public static void main(String[] args) throws Exception {
MappedPropertyTest test = new MappedPropertyTest();
BeanUtils.setProperty(
test,
"mappedproperty(java.naming.factory.initial)",
"com.sun.jndi.fscontext.RefFSContextFactory");
System.out.println(test.getMappedproperty());
}
public void setMappedproperty(String key, String value) {
this.mappedproperty.put(key, value);
}
public Map getMappedproperty() {
return mappedproperty;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]