Thanks for the reply Jeroen!
Ok, then this makes more sense as to why I was having some success
with one set (still not sure on the others)
Dr. Kay, Jeroen, what I have currently done is rewritten the class
loading of the extension function to use reflection from the CLI
instead of the current Java based solution. I did this mainly because
there was some erradic behavior that I couldnt quite understand and
moving to reflection seem to fix it. Jeroen, can you think of a
reason why this wouldnt work for loading of Gnu-based classpath or
might cause any unforeseen problems?
Of course, I still need to gain a better understanding of the
extension bindings as it seems creating a separate cli:// extension
that uses cli.System.Reflection would allow for the exising java based
class loading to stay as is and simply create a new class (or is this
subclassed from a base class for each namespace binding?) that would
use Reflection. I will work on gaining a deeper understanding of the
extensions and how they work exactly before I pester either of you
(and the list!) any further.
Jeroen, I will send you the code for this when complete in case you
might find it useful to pass on to other projects who have this need
(or furthermore by review find a blaring bug that I didnt take into
consideration.)
Dr. Kay, if there is anything you feel its not obvious with the
extension stuff or you feel I may not catch without knowing what to
look for I would appreciate, as always, your guidance with this.
Otherwise I will get this to the point of (hopefully!) completion and
once I have some proven code will submit links to this for your
review.
Thanks to both of you!
Regards,
<M:D/>
On Apr 1, 2005 6:13 AM, Jeroen Frijters <je...@su...> wrote:
> M. David Peterson wrote:
> > The latest build of IKVM does not support dynamic class loading
> > in external libraries (at least not from a Java class loading
> > perspective.)
>
> If I understand you correctly, it does. What is doesn't support is allow
> statically compiled code to bind with dynamically loaded code, but as
> long as you use interfaces that are statically compiled, you can
> dynamically load implementations and use them (instantating them through
> reflection) from statically compiled code.
>
> Regards,
> Jeroen
>
--
<M:D/>
:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist
|