[332] in java-interest

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

Re: reload of classes

daemon@ATHENA.MIT.EDU (Jonathan Payne)
Thu Jun 15 05:00:57 1995

Date: Thu, 15 Jun 1995 01:37:58 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: rizzotti.sven@ch.swissbank.com
Cc: cmcmanis@scndprsn.Eng.Sun.COM, java-interest@java.sun.com
In-Reply-To: <9506150832.AA08800@chbslu01.iis.ch.swissbank.com> (message from Sven Rizzotti on Thu, 15 Jun 95 10:32:30 +0200)
Reply-To: jpayne@starwave.com

Let me rephrase it.

If a class is ever loaded from the local file system, it will never be
reloaded.  So if you are some how loading a class from the file
system, and the usual way is to have that class in your CLASSPATH,
then stop doing that.

> Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
> From: Sven Rizzotti <rizzotti.sven@ch.swissbank.com>
> Date: Thu, 15 Jun 95 10:32:30 +0200
> Cc: java-interest@java.sun.com
> References: <9506150814.AA07118@pepper.Eng.Sun.COM>
> Content-Type: text/plain
> Content-Length: 1406
> 
> what I did:
> % echo $CLASSPATH
> 
> % pwd
> ~/src/java/hotjava
> % ./bin/hotjava
> 
> I opened 'doc:///page/Test.html' which is under ~/src/java/hotjava/page,  
> changed the class which is in ~/src/java/hotjava/page/classes and tried  
> reload, clearing the cache and reload, going to another side, clearing the  
> cache and reload -->  :-(
> 
> So ???
> 
> > Date: Thu, 15 Jun 1995 01:14:04 -0700
> > From: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
> > To: rizzotti.sven@ch.swissbank.com
> > Subject: Re: reload of classes
> >
> >
> > This happens if you start hotjava when you are cd'ed in the classes
> > directory. Make sure this isn't the case
> >
> 
> 
> > Date: Thu, 15 Jun 1995 01:19:51 -0700
> > From: jpayne@starwave.com (Jonathan Payne)
> > To: rizzotti.sven@ch.swissbank.com
> > Cc: java-interest@java.sun.com
> > In-Reply-To: <9506150752.AA08494@chbslu01.iis.ch.swissbank.com> (message  
> from Sven Rizzotti on Thu, 15 Jun 95 09:51:59 +0200)
> > Subject: Re: reload of classes
> > Reply-To: jpayne@starwave.com
> >
> > Don't count on it changing in the future.
> >
> > The work-around is not to have your applet classes in the CLASSPATH of
> > HotJava.  You want them in your CLASSPATH when you're compiling, but
> > when you're running hotjava, it needs a CLASSPATH which doesn't
> > include those classes.  That way they will be loaded over the net, and
> > only then will you have the true semantics that everyone else will
> > have when they use your classes.
> >
> 
-
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