Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 09:02:51 -0700 (PDT)
From:      "Robert F. Ross" <rross@recourse.com>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Ari Suutari <ari.suutari@syncrontech.com>, freebsd-java@FreeBSD.ORG
Subject:   Re: JDK 1.3.1, FreeBSD 4.5, JNI and select()
Message-ID:  <Pine.GSO.4.21.0205280901410.1002-100000@recourse.com>
In-Reply-To: <20020529001340.B47941@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The 1.2.2 JVM isn't happy running the jar file I have. It's definitely
a problem that I'm seeing with the 1.3.1 JDK as the subject said.

Robert Ross
Senior Software Engineer
Recourse Technologies, Inc.

On Wed, 29 May 2002, Greg Lewis wrote:

> On Mon, May 27, 2002 at 09:26:38AM +0300, Ari Suutari wrote:
> > On Sunday 26 May 2002 18:58, Greg Lewis wrote:
> > > Not having tried to do this I haven't seen this issue.  The Java Comm API
> > > uses this select() in JNI code and seems to work ok, however I'm not
> > > sure of the details.  It might be worth looking at the code for it
> > > (its in the PR system to be committed as a port if it hasn't been
> > > already).
> > 
> > 	Java Comm API used select in jdk 1.1.8 days, but I have
> > 	changed it to use poll because of similar problems. If I remember
> > 	correctly, there are wrappers in green_threads package for
> > 	various syscalls. There is a wrapper for "poll", but there is 
> > 	no wrapper for "select" which breaks threading when it
> > 	is called by JNI code. 
> 
> You should find that this isn't a problem for 1.3.1 (it was for 1.2.2).
> That is, you should be able to use select() without any problems.
> 
> -- 
> Greg Lewis                            Email : glewis@eyesbeyond.com
> Eyes Beyond                           Web   : http://www.eyesbeyond.com
> Information Technology
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0205280901410.1002-100000>