Subject:         Rhino: Problem in NativeJavaMethod    Date:         Tue, 14 Aug 2001 10:23:35 +0200    From:         felix.meschberger@day.com      To:         Norris Boyd <nboyd@atg.com>
Subject:
        Rhino: Problem in NativeJavaMethod
   Date:
        Tue, 14 Aug 2001 10:23:35 +0200
   From:
        felix.meschberger@day.com
     To:
        Norris Boyd <nboyd@atg.com>




Hi Norris,

While working with wrapped Java classes we discovered a problem in
NativeJavaMethod : If the public method to be called is part of a
non-public class, the Sun Java VM throws an IllegalAccessException. This
bug in the Sun VM has been reported as Bug 4071593 to Sun, but has not been
resolved since....

I implemented a circumvention, for which I provide you the patch. I quickly
tested it, and it seems to work.

Regards
Felix

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