Patch from jeffh@aiinet.com:
Patch from jeffh@aiinet.com:

There is a bug in the JavaMembers class called to wrap a Java object.

In JavaMembers.lookup(), code was added to override the static type.  The
code works in the case of an Enumeration returning an Object which would
have to be casted to the appropriate type.

The code does not work when the static type is an interface.  In this case,
the interface class is the one which should be reflected, not a parent class
of the dynamic type.  A simple staticType.isInterface() check around the
parent traversal code fixes the problem.

Jeff

qhanam/rhino,swannodette/rhino,Pilarbrist/rhino,ashwinrayaprolu1984/rhino,qhanam/rhino,sainaen/rhino,tuchida/rhino,lv7777/egit_test,ashwinrayaprolu1984/rhino,tntim96/rhino-apigee,AlexTrotsenko/rhino,AlexTrotsenko/rhino,tuchida/rhino,Angelfirenze/rhino,swannodette/rhino,jsdoc3/rhino,lv7777/egit_test,swannodette/rhino,tntim96/htmlunit-rhino-fork,swannodette/rhino,lv7777/egit_test,sainaen/rhino,Angelfirenze/rhino,InstantWebP2P/rhino-android,Angelfirenze/rhino,AlexTrotsenko/rhino,Pilarbrist/rhino,sam/htmlunit-rhino-fork,ashwinrayaprolu1984/rhino,qhanam/rhino,AlexTrotsenko/rhino,Pilarbrist/rhino,InstantWebP2P/rhino-android,sainaen/rhino,Angelfirenze/rhino,sam/htmlunit-rhino-fork,AlexTrotsenko/rhino,sainaen/rhino,Pilarbrist/rhino,Pilarbrist/rhino,sam/htmlunit-rhino-fork,lv7777/egit_test,Distrotech/rhino,qhanam/rhino,jsdoc3/rhino,tuchida/rhino,AlexTrotsenko/rhino,tntim96/htmlunit-rhino-fork,tejassaoji/RhinoCoarseTainting,jsdoc3/rhino,tejassaoji/RhinoCoarseTainting,tuchida/rhino,lv7777/egit_test,lv7777/egit_test,ashwinrayaprolu1984/rhino,tntim96/rhino-apigee,tntim96/rhino-jscover-repackaged,ashwinrayaprolu1984/rhino,sainaen/rhino,lv7777/egit_test,tntim96/rhino-jscover-repackaged,swannodette/rhino,tejassaoji/RhinoCoarseTainting,rasmuserik/rhino,rasmuserik/rhino,tejassaoji/RhinoCoarseTainting,tejassaoji/RhinoCoarseTainting,tntim96/rhino-jscover,ashwinrayaprolu1984/rhino,sainaen/rhino,tntim96/rhino-jscover,tntim96/rhino-apigee,swannodette/rhino,Distrotech/rhino,sam/htmlunit-rhino-fork,Pilarbrist/rhino,sam/htmlunit-rhino-fork,tuchida/rhino,AlexTrotsenko/rhino,sam/htmlunit-rhino-fork,Angelfirenze/rhino,sainaen/rhino,sam/htmlunit-rhino-fork,ashwinrayaprolu1984/rhino,tejassaoji/RhinoCoarseTainting,tejassaoji/RhinoCoarseTainting,Pilarbrist/rhino,tuchida/rhino,Angelfirenze/rhino,swannodette/rhino,tuchida/rhino,Angelfirenze/rhino