I've become a bit confused at times when I have accessed bean properties. For example, I have a bean that in one scenario should have a property, an array, that is null, but when I access it its an array of length 0 instead.
Another weird behaviour is with say bean1 with an Integer property and bean2 with a String property. At one point I want to do bean1.IntegerProp -> bean2.StringProp. So I wrote: And it compiles and works. But when I think about it, it shouldnt work. Because Integer.toString() doesnt take an Integer as argument, only int. Where's the magic?