Title: using java::defineclass
I'm trying to place all the class data from my package's .class files inside Tcl files as binary strings for loading when required. As a first step in that direction, I've created the following proc, which simply takes all .class files in a given directory, and
On Wed, 5 Jan 2000, Vince Darley wrote:
Off the top of my head, I would be willing to bet that the problem
you are having is because a class you want to define depends on
another class that can not be found.
Like so:
class A {
B b = new B();
}
class B {
}
Try loading B first, and then A.
Title: Re: [Tcl Java] using java::defineclass
-Original Message-
From: Mo DeJong [mailto:[EMAIL PROTECTED]]
Off the top of my head, I would be willing to bet that the problem
you are having is because a class you want to define depends on
another class that can not be found.
Perhaps you are going about this the wrong way. What you really want
to do here is wrap up your classfiles in some way that they can
be loaded by the JVM without putting them on the filesystem.
Perhaps what you need to do here is write your own classloader
like the TclClassLoader.
As for why the