(long) finalizer() - potential bug

1999-01-06 Thread Chris Abbey
John (& all), Sorry I didn't jump into this thread earlier, but the s:n on this list has pushed it down my reading priority list ... way down. John's understanding of finalizer and runFinalizersOnExit as I've understood him to state it in this thread matches my own interpretation o

Metrowerks JIT

1999-01-06 Thread SHUDO Kazuyuki
Is anyone porting Metrowerks JIT compiler for PowerPC to processors other than PowerPC? Are there any plans? Metrowerks has announced the releace of source code of their JIT for PowerPC at Sep 24, 1998. http://www.metrowerks.com/news.q?function=PR&rowid=162 I know that the JIT will be relased

Re: JDBC:RMI --> JDBC --> PostgreSQL

1999-01-06 Thread Chris Abbey
I have some experince with RMI, but none with jdbc... so take this with appropriate amounts of NaCl The only thought I have is that the extra colons are throwing rmi, jdbc or both. I'd try the following sequence: If you have control over what the rmi name of the object is then get rid of the

Re: JDBC/servlet problem

1999-01-06 Thread Scott Fraser
>> Connection: java.sql.SQLException: No suitable driver message. At first I though it was CLASSPATH problem, but I returned the CLASSPATH along with the error message and the jar file for the jdbc driver is listed. << Total long shot here, but I just noticed on one of our servers I unzipped th

Re: finalize() again

1999-01-06 Thread John Summerfield
On Tue, 5 Jan 1999, nagendra mishr wrote: > I've put in checks in our code to check is things are getting finalized... It does > happen (eventually) > > To force cleanups, I rely on the following: > > 1.add a void kill() in all heavy classes. make it delete files, close > sockets... etc

RE: Jdk1.2 status ???

1999-01-06 Thread John Summerfield
On Wed, 6 Jan 1999, Harold G. Andrews II wrote: > Check out > > http://www.blackdown.org/java-linux/ports.html#jdk1.2 > > They're pretty good about keeping us posted. > A regular (weekly?) report to the list would be a Good Thing for those of us who have dialup accounts and read mail offline.

Re: finalizer()

1999-01-06 Thread John Summerfield
On Tue, 5 Jan 1999, Daniel W. Dulitz x108 wrote: > John Summerfield writes: > > Someone mentioned offline (please, all, keep discussion ON the list) that > > it's possible to force garbage collection. My code has the necessary > > statements to do that (two versions that I found). > > If (as som

JDBC/servlet problem

1999-01-06 Thread Ben Newman
I'm having a problem with servlets that use JDBC. I have a servlet that runs a simple query and returns some rows. As a stand alone app it works just fine, but when I switch it over to run as a servlet I get a Error Connection: java.sql.SQLException: No suitable driver message. At first I thoug

JDBC:RMI --> JDBC --> PostgreSQL

1999-01-06 Thread Ing. Conrado Miguel Rodr?guez Fern?ndez
I'm trying to distribute my PostgreSQL tables through JDBC:RMI. I have been using the PostgreSQL JDBC driver from contrib.redhat. and it do it's job Ok. The JDBC:RMI system has been also succesfully tested with the JDBC-ODBC bridge. The problem arises when I try to connect to the SQL Server thr

Sorry: Ignore that last post (Is this a JVM bug? Why is my local variable not initialized?)

1999-01-06 Thread Richard Jones
I've just found out why `d' isn't initialized ... it seems to be a dumb design decision in Java rather than a bug in the JVM. Rich. -- - Richard Jones. Linux contractor London and SE areas.- -Very boring homepage at: http://www.annexia.demon.co.uk/ - - You are currently t

Re: backtab

1999-01-06 Thread Java News-collector
There was a previous post on this; reference "http://www.oakstrsft.com/~javanews/msg0110.htm" On Wed, 6 Jan 1999, Rob Nugent wrote: > I just noticed on jdk117_v1a that I no longer appear to be getting a > keyPressed > KeyEvent for backtab i.e. shift+tab. I get the event for the shift key > on it

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-06 Thread Nathan Meyers
Richard Jones wrote: > > Can someone tell me why this program, when run under > Linux, prints d = 0 (ie. the variable d isn't being > initialized as expected)? According to Bruce Eckel's > book, which is the only reference I have available to > me, d should be initialized to 1, so I suspect this

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-06 Thread Pavel Tolkachev
This is expected behavior. The following is an excerpt from "The Java Language Specification", sectoion 12.5 (Creation of New Class Instances): cut here- 1.Assign the arguments for the constructor to newly created parameter variables for this constructor invocation. 2.If this construct

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-06 Thread Michael Sinz
On Wed, 06 Jan 1999 15:13:51 +, Richard Jones wrote: > >Can someone tell me why this program, when run under >Linux, prints d = 0 (ie. the variable d isn't being >initialized as expected)? According to Bruce Eckel's >book, which is the only reference I have available to >me, d should be initi

RE: Jdk1.2 status ???

1999-01-06 Thread Bharat Bedia
I already did prior to my first post - I'm just impatient ;-) > -Original Message- > From: Harold G. Andrews II [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 06, 1999 3:43 PM > To: Java-Linux Mailing List; Bharat Bedia > Subject: RE: Jdk1.2 status ??? > > > Check out > > http:/

Is this a JVM bug? Why is my local variable not initialized?

1999-01-06 Thread Richard Jones
Can someone tell me why this program, when run under Linux, prints d = 0 (ie. the variable d isn't being initialized as expected)? According to Bruce Eckel's book, which is the only reference I have available to me, d should be initialized to 1, so I suspect this may be a JVM bug ... Rich.

STOP

1999-01-06 Thread LAURENT LE BOURHIS
PLEASE STOP SEND ME YOUR MESSAGE !!!

Re: Which Linux distribution gives least problems with java dev

1999-01-06 Thread Carl H. Sayres
> Currently I have SUSE and Red Hat both released around the same, June 1998. > sitting on my computer desk. > I want to avoid any pain with JAVA 2.0, netscape, IDEs, JDKs so which > is best supported when all the new JAVA goodies come out. I don't know of any RedHat-specific problems. SuS

backtab

1999-01-06 Thread Rob Nugent
I just noticed on jdk117_v1a that I no longer appear to be getting a keyPressed KeyEvent for backtab i.e. shift+tab. I get the event for the shift key on its own going down, but then subsequently nothing when the tab key is then pressed. Has anyone else seen this or can comment before I put in th

Which Linux distribution gives least problems with java dev

1999-01-06 Thread M . Patel
Currently I have SUSE and Red Hat both released around the same, June 1998. sitting on my computer desk. I want to avoid any pain with JAVA 2.0, netscape, IDEs, JDKs so which is best supported when all the new JAVA goodies come out. Regards. Mo

Jdk1.2 status ???

1999-01-06 Thread Bharat Bedia
Can you guys give us an update on how the Jdk1.2 port is coming along (especially on the Linux-Intel machines) ? An estimate of when you think you can make it available would be greatly appreciated! BTW, keep up the good work! Bharat

Troubles installing activator-plugin 2

1999-01-06 Thread Berthold Stöger
(At the moment) I don't know much about Unix/Linux, so maybe this is just the way things should be, but it looks strange to me: kaos:/lib# objdump -T libc.so.6 |grep " stat" 0006fc60 w DF .text 0044 statfs kaos:/usr/i486-linux-libc5/lib # objdump -T libc.so.5.4.46 |grep " stat" 00068c94

Re: Help on a syntax.

1999-01-06 Thread Moses DeJong
I don't think this is really the right place to ask or answer a question like this but you will want to use the java.util.Random class and declare an int in you method or class. Then call the nextInt() method of the random class and you should be off and running. Mo DeJong dejong at cs.umn.edu O

Help on a syntax.

1999-01-06 Thread G. Sagar
Hi, Im very new to java programming (in fact programming). I want to initialize a variable and want a random number between 1-100 to be stored in the variable. What is the syntax for this ??? Please help. TIA. Cheerio, Sagar.

Re: finalize() again

1999-01-06 Thread mlorton
> I've put in checks in our code to check is things are getting finalized... It does > happen (eventually) > > To force cleanups, I rely on the following: > > 1.add a void kill() in all heavy classes. make it delete files, close > sockets... etc. I would use the word "dispose()" for thi

Re: finalizer()

1999-01-06 Thread SHUDO Kazuyuki
daniel dulitz wrote: > If (as someone else indicated) Sun's JVM uses a conservative garbage > collector, then even though one may force garbage collection, there's > no way to force the garbage collector to recognize that a particular > object is in fact garbage. Sun's JVM, at least JDK 1.0.X an