RE: [ATTENTION]: Mailing List Changes

1999-01-13 Thread John Summerfield

On Tue, 12 Jan 1999, Alex Chaffee wrote:

> > > Newsgroups have a different audience and accessing method. I, for one,
> > > would probably stop following this list if it became a newsgroup.
> 
> Slightly off-topic:
> 
> Newsgroups and mailing lists are so similar technically. Hasn't anyone
> written a free, stable two-way bridge between email and nntp? I'd love to
> keep subscribing to the list digest, but be able to use a news reader to
> browse the archives...

Look at sunsite. There's something there with a pretty obvious name. It's
just a perll script for feeding email to news. To send your replies, make
the newsgroup a moderated one and feed them into another script via
sendmail.

-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



GLIBC Problem solved by myself!

1999-01-13 Thread Sven Werner

Hi!

1. change checkVersions:

.
ldd $execName > $lddOut
libcMainVer=`getLibName libc.so.6 $lddOut` <--- this must be changed.
case $libcMainVer in
libc*.5)
checkFun=checkLibc5Version
;;

libc*.6)
checkFun=checkGlibcVersion
;;
esac


$checkFun $lddOut
result=$?

rm -f $lddOut

return $result
}

2. Link libc.so.6 and libdl.so.2 to /lib

Then the glibc-JDK will work on Systems which use the old libc5 as main libc.

Ciao!


   
-> E-Mail: Sven Werner <[EMAIL PROTECTED]> 
   Sven Werner <[EMAIL PROTECTED]>
-> www   : http://www.ping.de/sites/hawaii-datteln   




VI

1999-01-13 Thread Ozer Irfan

Hello.

How know the colonn where I'm in VI ?

Thanks



Re: JDK1.2

1999-01-13 Thread Dan . Aberg/stockholm/se/ECSOFT

Don't ask ???

Why? Don't you think it is a relevant question to
ask for JDK1.2 for Linux on this mailing list ???

/Dan


 >DAMMIT!!! Why don't we just make a join message that says
 >"The damn JDK1.2 (Java 2) isn't. Don't ask."
 >
 >
 >
 >
 >-
 >
 >On Tue, 12 Jan 1999 [EMAIL PROTECTED] wrote:
 >
 >>
 >>
 >> Hi guys,
 >>
 >> Just wondering about the status of JDK1.2 (a.k.a Java 2) for Linux. Can
we
 >> expect a release by Feb. 1, 1999 ?
 >>
 >> - Farley Caesar
 >>
 >> P.S. Great work on the JDK1.1.x series for Linux by the way.
 >>
 >>
 >>




RMI-Question Part 2

1999-01-13 Thread Jan Suchanek

Hi!

I thought I could use the RMISecurityManager to get more security...
I found the method " checkConnect(String host, int port)" in the
RMISecurityManger and hoped this would help me. This would be much more
elegant to use this than writing my own "host"-checker...
Or am I wrong to use the RMISecurityManager??

Greetings Jan Suchanek
-- 
Jan Suchanek, University of Ulm, Germany
[EMAIL PROTECTED]

NVNC ID VIDES, NVNC NE VIDES
- Motto of the Unseen University, Ankh-Morpork -



Re: [ATTENTION]: Mailing List Changes

1999-01-13 Thread Richard Jones

Alex Chaffee wrote:

> Slightly off-topic:
> 
> Newsgroups and mailing lists are so similar technically. Hasn't anyone
> written a free, stable two-way bridge between email and nntp? I'd love to
> keep subscribing to the list digest, but be able to use a news reader to
> browse the archives...

It's not too hard to script this. For mail -> news,
you need to enable sendmail's `newsgroup.usenet@...'
mailer feature. For news -> mail you need to fiddle
with the newsfeeds file in innd. At one time in the
past I worked all this out for a company I used to
work for, and I can dig out the script(s) and config
file(s) if you're interested.

Rich.

-- 
-  Richard Jones. Linux contractor London and SE areas.-
-Very boring homepage at: http://www.annexia.demon.co.uk/  -
- You are currently the 1,991,243,100th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-



Re: Unidentified subject!

1999-01-13 Thread Richard Jones

Peter T Mount wrote:
[Kaffe]

I can't even get simple Swing programs to
run with Kaffe (see, for instance, the
two Java programs off my webpage). Does
anyone have a non-trivial Swing program
running with Kaffe?

[Java2 JIT]

> All I will say on this subject, is I hope the speed improvement is as
> large as I've observed on the Win32 Java 2 VM. I had code running on 1.1.6
> at an acceptible speed, and now on 2.0 that same code is running atleast
> 10x faster (drawing astronomical maps on screen).

Can someone `in the know' confirm or
deny this rumour that the Blackdown
port of Java2 will contain a JIT?

Rich.

-- 
-  Richard Jones. Linux contractor London and SE areas.-
-Very boring homepage at: http://www.annexia.demon.co.uk/  -
- You are currently the 1,991,243,100th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-



Advanced Java books

1999-01-13 Thread Richard Jones


Hi:

Can someone on this list recommend a good _advanced_
Java book. I've now moved beyond Bruce Eckel's
"Thinking in Java", which is a good introduction,
but omits many more complex aspects of the language
and libraries.

Particular subjects which I'm interested in, but
which don't seem to be covered in any Java books
I've browsed through so far:

 - Advanced serialization issues, such as using
   versioned objects. Even Sun's paper about this
   is a bit lightweight and doesn't, AFAICS,
   talk about ways to handle different versions
   of the same object.

 - Running untrusted code (or threads?) in secure
   sandboxes.

 - Object creation (see my earlier posting) and
   other low-level JVM issues.

 - CORBA and RMI. Eckel's book covers this but only
   very briefly.

 - Java Beans and EJBs. The papers on Sun's site
   about this are a bit mysterious, so I'm looking
   for some real world examples.

 - Signed objects and the public key authentication
   system in Java 2.

Rich.

-- 
-  Richard Jones. Linux contractor London and SE areas.-
-Very boring homepage at: http://www.annexia.demon.co.uk/  -
- You are currently the 1,991,243,100th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-



Re: VI

1999-01-13 Thread Michael D. James

> Hello.
>
> How know the colonn where I'm in VI ?

42.  

> Thanks

Anytime.



Re: RMI-Question

1999-01-13 Thread blaise toad

Hi, 

As far as I know the only framework taht provides the indirection
needed for any security checking on top of RMI (including host based)
is through EJB. 

only weblogic has a run-time (and a clunky one at that) on Linux, and
it is not OSS.  As far as I know there is no OSS'd EJB run-time on
linux.

Enterprise Java Beans allow you to define ACLs at the method level and
generates wrappers for the access checks.

I don't know of a way to overwrite the RMI core classes to implement
this service otherwise (The RMI socket factory, would check a
particular host? i dont' know.).

Your safest bet is to wait a few days... friends from the Valley told
me an EJB-OSS server for Linux is about to be released... (?) ABOUT
TIME too...

regards,
blaise



_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



How to get Netscape 4 working Swing and JMF Applets?

1999-01-13 Thread peter . pilgrim


I am trying to get Netscape to work with Swing and JMF. What is written in 
the README file does not work at all.

Java Applet Support:

  Java Applet support is available for all Unix platforms.

  To run Java applets with the Java-enabled version, Communicator
  needs to be able to load Java class files from a file called
  java40.jar.  This file is included in the distribution, and is
  searched for using the following algorithm:

 if($CLASSPATH environment variable is set)
 Look at $CLASSPATH, where $CLASSPATH is a
 colon-delimited list of / entries.
 else
 Search in order:
 
 $MOZILLA_HOME/java/classes
 $HOME/.netscape
 /usr/local/netscape/java/classes
 /usr/local/lib/netscape


The only way to get Java Applets to work in Netscape 4.5 is to unset 
CLASSPATH env variable. How can I then make the browser find the Swing/JFC 
and JMF (or any other 3rd party) jar files then ?

Pete



RE: Advanced Java books

1999-01-13 Thread Bharat Bedia

For me, the word "advanced" usually means one of two things :-
1. Advanced use of Java (the language, class libraries and the JVM) Eg.
Inner classes, serilisation, dynamic class loading, swing etc etc.
2. Advanced use of OO (in Java) Eg. patterns, frameworks etc etc

For 1.
Like you, I normally use the Internet Eg Javaworld, Java Developer
Connection. Books always lag the information found on the net.

For 2.
As well as the web eg If you're keen on patterns:-
"Patterns in Java, Volume 1" by Mark Grand, Publisher: Wiley, ISBN:
0471258393
This is a rehash of the patterns found in the "Design Patterns" book by
Erich Gamma et al but given a Java spin.


I guess for 1. and 2. try :-
"Concurrent Programming in Java: Design Principles and Patterns" by Doug
Lea, Published: Addison Wesley, ISBN: 0201695812

Nevertheless, I still refer to the "Thinking in Java" book so I wouldn't
dismiss it just yet. Maybe people don't know this but you can download the
book for FREE from Bruce Eckel's web site
http://www.eckelobjects.com/javabook.html


I find the following website quite good as jumping point to all things OO:-
http://www.cetus-links.org/


Good luck,

Bharat

 


> -Original Message-
> From: Richard Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 13, 1999 10:27 AM
> To: [EMAIL PROTECTED]
> Subject: Advanced Java books
> 
> 
> 
> Hi:
> 
> Can someone on this list recommend a good _advanced_
> Java book. I've now moved beyond Bruce Eckel's
> "Thinking in Java", which is a good introduction,
> but omits many more complex aspects of the language
> and libraries.
> 
> Particular subjects which I'm interested in, but
> which don't seem to be covered in any Java books
> I've browsed through so far:
> 
>  - Advanced serialization issues, such as using
>versioned objects. Even Sun's paper about this
>is a bit lightweight and doesn't, AFAICS,
>talk about ways to handle different versions
>of the same object.
> 
>  - Running untrusted code (or threads?) in secure
>sandboxes.
> 
>  - Object creation (see my earlier posting) and
>other low-level JVM issues.
> 
>  - CORBA and RMI. Eckel's book covers this but only
>very briefly.
> 
>  - Java Beans and EJBs. The papers on Sun's site
>about this are a bit mysterious, so I'm looking
>for some real world examples.
> 
>  - Signed objects and the public key authentication
>system in Java 2.
> 
> Rich.
> 
> -- 
> -  Richard Jones. Linux contractor London and SE areas.-
> -Very boring homepage at: http://www.annexia.demon.co.uk/  -
> - You are currently the 1,991,243,100th visitor to this signature. -
> -Original message content Copyright (C) 1998 Richard Jones.-
> 



Re: How to get Netscape 4 working Swing and JMF Applets?

1999-01-13 Thread pridemor

Write a shell script to launch netscape, instead of calling it directly.
In the script, you can set your CLASSPATH as needed, including
java40.jar.





[EMAIL PROTECTED] on 01/13/99 06:28:51 AM

To:   [EMAIL PROTECTED]
cc:(bcc: Russell Pridemore/Lex/Lexmark)
Subject:  How to get Netscape 4 working Swing and JMF Applets?





I am trying to get Netscape to work with Swing and JMF. What is written in
the README file does not work at all.

Java Applet Support:

  Java Applet support is available for all Unix platforms.

  To run Java applets with the Java-enabled version, Communicator
  needs to be able to load Java class files from a file called
  java40.jar.  This file is included in the distribution, and is
  searched for using the following algorithm:

 if($CLASSPATH environment variable is set)
 Look at $CLASSPATH, where $CLASSPATH is a
 colon-delimited list of / entries.
 else
 Search in order:
 
 $MOZILLA_HOME/java/classes
 $HOME/.netscape
 /usr/local/netscape/java/classes
 /usr/local/lib/netscape


The only way to get Java Applets to work in Netscape 4.5 is to unset
CLASSPATH env variable. How can I then make the browser find the Swing/JFC
and JMF (or any other 3rd party) jar files then ?

Pete







Re: How to get Netscape 4 working Swing and JMF Applets?

1999-01-13 Thread Ugo Cei

[EMAIL PROTECTED] wrote:
 
> The only way to get Java Applets to work in Netscape 4.5 is to unset
> CLASSPATH env variable. How can I then make the browser find the Swing/JFC
> and JMF (or any other 3rd party) jar files then ?

Just put them in /usr/local/netscape/java/classes.

-- 
Ugo Cei - [EMAIL PROTECTED]
Fuori Orario Srl - Galleria Manzoni 15, 27100 Pavia - Italy
Tel: +39.382.22651, Fax: +39.382.539467



Re: Java-VisiBroker CORBA on Linux with Blackdown Java 1.16/1.17 Howto

1999-01-13 Thread Ron Resnick

Here's just a minor update to the excellent "HOWTO" Marcel Ruff
forwarded last week on running VisiBroker for Java, on Linux:

Marcel Ruff wrote:
> 
> Hi,
> after some mails about VisiBroker, here are some hints how to run
> VisiBroker on Linux:
> 
> 1) Everything from VisiBroker runs fine on Linux (pure Java), but not
> the osagent process
> which is nativ binary (and not supported on Linux)

Not only is it native binary, but it's a windows (as opposed to dos)
app. I tried to run osagent under dosemu on linux, hoping to 
avoid needing a dangling windows box on the network just for this
purpose. Unfortunately, I get the standard 'must run this app under
windows' message :-(. 
Bizarre, too, since osagent does fire up a window, but never
does anything with it. Why they couldn't keep it as a background
task, executable from a dos shell, is beyond me. (Though that's
hardly the only example of poor Visibroker design).

I've never run wine - any thoughts on whether it's worth trying
to get osagent running on wine, or would I be wasting my time
barking up this tree?

Otherwise, everything worked just fine. My CORBA apps (I've now
ported over about 4 from NT) run very smoothly 
over Blackdown (1.1.7v1a on x86).

Ron



Re: JDK1.2

1999-01-13 Thread Nathan Meyers

[EMAIL PROTECTED] wrote:
> 
> Don't ask ???
> 
> Why? Don't you think it is a relevant question to
> ask for JDK1.2 for Linux on this mailing list ???
> 
> /Dan

It seems that everyone who has joined this list for the past several
weeks has, without bothering to check the list archives, asked the same
question. It's sometimes being asked several times a day... even though
the answer is not changing several times a day.

That's why.

The answer is that it's being worked on, it'll be out soon (no date
promised), and the Blackdown team is forbidden by the license to release
anything until it has passed the compatibility tests (this is a good
thing).

Nathan

> 
>  >DAMMIT!!! Why don't we just make a join message that says
>  >"The damn JDK1.2 (Java 2) isn't. Don't ask."
>  >



Re: RMI-Question

1999-01-13 Thread sabin

> Hello!
>
> I am working on a project which uses RMI. I wrote a server which runs
> very well. I problem I got is that every client is allowed to connect to
> my server and call the remote methode. What I want is, that only hosts
> who are allowed to make a remote call can connect to my server. How can
> I get there. I have really no idea...
>
> Any help is welcome...
>
> Greetings Jan Suchanek
>
> --
> Jan Suchanek, University of Ulm, Germany
> [EMAIL PROTECTED]
>
> NVNC ID VIDES, NVNC NE VIDES
> - Motto of the Unseen University, Ankh-Morpork -
>
and

> On Tue, 12 Jan 1999, Pete wrote:
>
> [...] In any case why would want to restrict
> the service just by machine name (host)? [...]
>


you have to implement a pure java related solution and an elegant way is
to build a _protection_proxy_object_ (server).   this object will
control (test) any attempt to access the real object (server).  how ?
a simple way (and a nice solution): you can build two DB, one with hosts
(domains) which have and another with hosts (domains) which have not
access at your server (like those in linux: hosts.allow, hosts.deny).
through RMI, you have no facility for doing this job.

and Pete, there are many reasons for restrict the access even by machine
name.  ask an good SysAdm.

respect,
sabin ielceanu.




JDK 2.0 AND Linux 2.20

1999-01-13 Thread Ray Racine

I hate to make the waters deeper and browner but I have been noticing
some suspect behavior with the Blackdown 1.1.7a on the Linux 2.2-pre?
(latest pre6) kernels.

Specifically, thrown exceptions seem to be intermittently causing core
dumps.  Unfortunately, when this occurs it is within 3rd party jars for
which I do not have source.  I can create a reproducible case causing
core dumps in Javasoft's Project X XML parser for example.  A simple XML
syntax violation will cause a core dump.  I did not observe this in the
2.1.1?? development kernels.

I only bring this up because it appears that Java 2.0 and Linux kernel
2.2.0 will be released very close to each other and there may very well
be compatibility problems (or not!).

Is anyone else seeing this behavior?  Is Blackdown doing parallel
testing on 2.2.0-preX kernels? How will Blackdown release JDK 2.0, for
the Kernel 2.0 or 2.2 or both??  Am I just a worry wart or what?

I can picture these poor Blackdown folks working like daemons to get out
JDK 2.0 on Monday, only to have the 2.2 Linux kernel released on
Tuesday.  By Wednesday the mail list fills with "When are you going to
release JDK 2.0 for the latest kernel."  Of course each of these will
have 5 responses requesting that not to ask, which have 10 saying well
why not...

Regards,


Ray Racine





Re: Advanced Java books

1999-01-13 Thread Matt Welsh


O'Reilly has a number of good books on things like Java and distributed
computing, the Java Virtual Machine, Java Security, and other low-level
gritty topics. Not all of these topics are adequately covered in a 
single book. 

mdw

Richard Jones <[EMAIL PROTECTED]> writes:
> 
> Hi:
> 
> Can someone on this list recommend a good _advanced_
> Java book.



Re: RMI-Question

1999-01-13 Thread Mario Camou

blaise toad wrote:

> only weblogic has a run-time (and a clunky one at that) on Linux, and
> it is not OSS.  As far as I know there is no OSS'd EJB run-time on
> linux.

EJBHome (http://www.ejbhome.com) reportedly works on Linux

-Mario.




Re: JDK 2.0 AND Linux 2.20

1999-01-13 Thread Tom Sedge

On Wed, 13 Jan 1999, Ray Racine wrote:

> I hate to make the waters deeper and browner but I have been noticing
> some suspect behavior with the Blackdown 1.1.7a on the Linux 2.2-pre?
> (latest pre6) kernels.
> 
> Specifically, thrown exceptions seem to be intermittently causing core
> dumps.  Unfortunately, when this occurs it is within 3rd party jars for
> which I do not have source.  I can create a reproducible case causing
> core dumps in Javasoft's Project X XML parser for example.  A simple XML
> syntax violation will cause a core dump.  I did not observe this in the
> 2.1.1?? development kernels.

I've just upgraded to 2.2.0pre6 and have started to see the same sort of
thing occasionally.  If I get more, I'll save the details for anyone
interested.  I wouldn't be surprised if it is a buggy kernel causing the
issue - the MM stuff is in flux right now.

Best Regards,


Tom.
--
Cognality Ltd.  [EMAIL PROTECTED]   Where dreams become reality



O'Reilly's Linux Conference: A Call for Papers

1999-01-13 Thread John Dockery

Please help us spread the word about the O'Reilly Linux
Conference and our call for papers.

Thank you,

John Dockery

**

Attention: Linux users, developers, programmers, engineers, administrators
Mark your calendar for O'Reilly's Linux Conference, August 21-24, 1999 

If you are interested in making a Linux presentation, please see the 
detailed announcement at
http://www.conferences.oreilly.com

If you are interested in the latest technical developments in Linux, 
mark your calendar now for the O'Reilly's Linux Conference. 
There will be content-rich tutorials, talks, panels, and presentations 
by the leading Linux developers. Plus you will be able to attend 
conferences on other Open Source technologies such as Perl, 
Apache, Sendmail, Python, and Tcl/Tk --all under the same roof, 
during the same week. 



John DockeryO'Reilly & Associates, Inc.
 
[EMAIL PROTECTED]www.oreilly.com



Re: JCK licensing restriction (was: JDK1.2)

1999-01-13 Thread Trevor Harmon

I disagree on that last point, and I was wondering if anyone else feels
the same. (I'm  referring to the part about not releasing any version of
the Linux JDK 1.2 until  passing compatibility tests being a good thing.)
I think it's not such a good thing because, as I understand it, it
prevents any form of public beta testing. Think about it this way: If the
JDK doesn't pass the JCK, then it means there are bugs somewhere, but the
developer community can't help the Blackdown team find/kill those bugs if
a public beta isn't released. So, although one might think that forcing the
JDK to pass the JCK would reduce bugs in the final release, I would guess
that it actually produces *more* bugs since the thousands and thousands of
Java-Linux developers out there are prevented from helping out with the
beta test cycle. It also means that the beta cycle might take longer
since the pre-releases can only be tested by  members of Blackdown. Am I
missing something here, or is the JCK restriction of the license really
not such a great thing after all?

Trevor

Nathan Meyers wrote:

> The answer is that it's being worked on, it'll be out soon (no date
> promised), and the Blackdown team is forbidden by the license to release
> anything until it has passed the compatibility tests (this is a good
> thing).





Apache and JServ Module

1999-01-13 Thread Marc Dumontier

Has anyone gotten the apache jserv module to work with jdk1.1.7???

My log file keeps saying that the JVM exits right away (at
initialization of module)

If anyone has any info , please email me ASAP.

thanks




RE: JCK licensing restriction (was: JDK1.2)

1999-01-13 Thread Harold G. Andrews II


It seems to me that the JCK compliance testing is analogous to Alpha testing
and that the initial Blackdown releases will initially be of Beta quality
(ie. once it's released we'll have plenty of opportunities to complain about
what doesn't work ;-).  But, since the NDA Blackdown signed doesn't allow
releasing the JDK until it passes the JCK tests, it's pretty much a moot
point in any event.  The alternative is that the Blackdown team could have
not signed the NDA and then we'd be waiting a heck of a lot longer than we
have for Java 2 on Linux.  Just my $0.02.


-Andy


> -Original Message-
> From: Trevor Harmon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 13, 1999 4:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JCK licensing restriction (was: JDK1.2)
>
>
> I disagree on that last point, and I was wondering if anyone else feels
> the same. (I'm  referring to the part about not releasing any version of
> the Linux JDK 1.2 until  passing compatibility tests being a good thing.)
> I think it's not such a good thing because, as I understand it, it
> prevents any form of public beta testing. Think about it this way: If the
> JDK doesn't pass the JCK, then it means there are bugs somewhere, but the
> developer community can't help the Blackdown team find/kill those bugs if
> a public beta isn't released. So, although one might think that
> forcing the
> JDK to pass the JCK would reduce bugs in the final release, I would guess
> that it actually produces *more* bugs since the thousands and thousands of
> Java-Linux developers out there are prevented from helping out with the
> beta test cycle. It also means that the beta cycle might take longer
> since the pre-releases can only be tested by  members of Blackdown. Am I
> missing something here, or is the JCK restriction of the license really
> not such a great thing after all?
>
> Trevor
>
> Nathan Meyers wrote:
>
> > The answer is that it's being worked on, it'll be out soon (no date
> > promised), and the Blackdown team is forbidden by the license to release
> > anything until it has passed the compatibility tests (this is a good
> > thing).
>
>
>
>



Re: JCK licensing restriction (was: JDK1.2)

1999-01-13 Thread nmeyers

Trevor Harmon wrote:
> I disagree on that last point, and I was wondering if anyone else feels
> the same. (I'm  referring to the part about not releasing any version of
> the Linux JDK 1.2 until  passing compatibility tests being a good thing.)

If you really want to be a beta tester, then I concede that it's not a good
thing. If your intent is to use the JDK as a development kit for applications,
you're better off with one that has achieved at least a nominal certification of
correctness -- rather than spending your time tracking down someone else's bugs.
Turning customers into beta testers is supposed to be the hallmark of that
*other* software company :-).

Nathan

> Nathan Meyers wrote:
> 
> > The answer is that it's being worked on, it'll be out soon (no date
> > promised), and the Blackdown team is forbidden by the license to release
> > anything until it has passed the compatibility tests (this is a good
> > thing).




Re: JDK1.2

1999-01-13 Thread Kontorotsui


On 13-Jan-99 [EMAIL PROTECTED] wrote:
> Don't ask ???
> 
> Why? Don't you think it is a relevant question to
> ask for JDK1.2 for Linux on this mailing list ???
> 

Yes, the question is in topic, but it's a FAQ. Since there is FAQ, every
user is supposed to read it before asking.

---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at 
University of Pisa  -  Italy  -  E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html

Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...

+-+
|.  * .   |
|   .__ . .   |
|oq  |po   _ _|
|  /  #==>>>==#,-' (_)\   |
|  |  ,-|~\\   ///_ ,()  ,_}  |
|  |  |/|~]]] /// ,-~'  .,~   /   \|  .   |
|  |\_|_|_\_\~~~~'   \   (/|. |
| ./~ \___/   [m] \   \__//   |
| _bo..__ //   `-,.~~ |
|  _-~ 0o.__( .   |
| \  o  . |
|  .  (_)00   |
|. \~~~*,,,* ~00  |
|~0 . |
|   ~~~---~~  |
|   .*|
+-+



class finalizer?

1999-01-13 Thread Jason Dillon

Is there any way to detect when a class is going to be unloaded from the vm
sort of the opposite of static { ... }?

--jason



Re: class finalizer?

1999-01-13 Thread Chris Abbey

>Is there any way to detect when a class is going to be unloaded from the
vm
>sort of the opposite of static { ... }?
>
>--jason

In theory or in practice?

In theory the JLS says so, put a static method finalize() in the class
(sorry, don't remember the protection, maybe public??) and the VM is
supposed to call the method before unloading the class.

In practice . . . well, even Sun never bothered to implement it, and
I doubt the JCK checks for it either. IIRC someone posted a quote from
bugParade re this; check the archives if you're interested or search
for finalization in bugParade.

There was also a suggestion to strike that requirement from the JLS,
hopefully this was given some serious thought before being accepted!

To keep this Java && Linux, are the Blackdowner's considering doing
more than just porting? Not to imply that porting isn't a major
undertaking in and of itself. But are any of you working on enhancements
or bugfixes as well? -=Chris

<*> cabbey at rconnect dot com  http://homepage.rconnect.com/cabbey/ <*>
Get it up, keep it up... LINUX: Viagra for the PC. ;) PGP Info: pgp.html

-BEGIN GEEK CODE BLOCK-
Version: 3.12 http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
--END GEEK CODE BLOCK--