Supporting [[hasProperty]] on JavaBeans
hannes.wallnoefer at oracle.com
Thu Jan 26 12:57:46 UTC 2017
I noticed today that we don’t support the „in“ operator on JavaBeans. ScriptRuntime.IN(Object, Object) returns false if the second argument is a generic object (not a ScriptObject or JSObject).
I was wondering if this is an oversight or intentional. If it is the former, how would we implement this? Is this the case for a non-standard Dynalink operation such as HAS?
More information about the nashorn-dev