Fix ClassCastException.
Fix ClassCastException.

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