HI Yang, welcome to our little community.
That's interesting feedback. I didn't know about that. But ... Android -> PLC ... would you mind elaborating a tiny bit on the use-case (Just out of curiosity)? How about you whip up a PR and submit your first PR to the project ... that would make us even happier than fixing this for you :-) Chris -----Original Message----- From: 杨 林 <[email protected]> Sent: Mittwoch, 19. Januar 2022 13:54 To: [email protected] Subject: [DISCUSS] Remove commons-beanutils dependency Hi all, I’m using plc4j in Android, commons-beanutils is the only thing to obstacle me to do that ,because Android does not have java.beans.PropertyDescriptor. org.apache.commons.beanutils.BeanUtils is used only in org.apache.plc4x.java.spi.configuration.ConfigurationFactory (Line 93 and Line 103). I think It could be replace by simple reflect: field.setAccessible(true); if (field.getType() == String.class) { field.set(instance, valueString); } else if ((field.getType() == boolean.class) || (field.getType() == Boolean.class)) { field.setBoolean(instance, Boolean.parseBoolean(valueString)); } else if … Any help? Yang Lin
