[787] in java-interest

home help back first fref pref prev next nref lref last post

Re: Firewall and ClassLoader

daemon@ATHENA.MIT.EDU (Chuck McManis)
Thu Jul 20 02:26:45 1995

Date: Wed, 19 Jul 1995 22:10:17 -0700
From: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
To: java-interest@java.Eng.Sun.COM, mattias@cdt.luth.se


> We are two students that are working with a project which involves Java.
> We have come across a problem while making an application. This application
> uses a classloader which we have written ourselves.

Yup, the code is currently pretty simplistic in this regard. Basically it
assumes that is classloader != null, you must be an applet, or if you
aren't using WWWClassLoader you're an alien invader.

I'm trying to clean this up a bit, I'll let you know how it goes.

> Is there a solution to this problem that we haven't noticed or do we have
> to hack the Firewall code?

Nope, you've got to hack the code. Note that the "internal" class loader's
loadClass() method is a static method in class Class called 'forName()'. 

> which seems to imply that there will be possibilities to use other
> classloaders together with socket connections in the future. Is this the
> case?

Stay tuned we'll see.

--Chuck McManis

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post