From owner-freebsd-java  Sun Dec 23  9:44: 3 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202])
	by hub.freebsd.org (Postfix) with ESMTP id 2148637B405
	for <freebsd-java@freebsd.org>; Sun, 23 Dec 2001 09:43:59 -0800 (PST)
Received: from [207.135.128.145] (helo=misty.eyesbeyond.com)
	by mgr2.xmission.com with esmtp (Exim 3.22 #1)
	id 16ICfE-0004tC-00
	for freebsd-java@freebsd.org; Sun, 23 Dec 2001 10:43:58 -0700
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.6/8.11.6) id fBNHhqJ07378
	for freebsd-java@freebsd.org; Mon, 24 Dec 2001 04:13:52 +1030 (CST)
	(envelope-from glewis)
Date: Mon, 24 Dec 2001 04:13:52 +1030
From: Greg Lewis <glewis@eyesbeyond.com>
To: freebsd-java@freebsd.org
Subject: Fwd: FreeBSD Foundation Announces Java License for FreeBSD
Message-ID: <20011224041352.A7340@misty.eyesbeyond.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

In case everyone didn't see this message on freebsd-announce:

----- Forwarded message from The FreeBSD Foundation <bod@freebsdfoundation.org> -----

The FreeBSD Foundation is pleased to announce that it has secured a
license from Sun Microsystems to distribute a native FreeBSD version of
both the Java Development Kit (JDK) and the Java Runtime Environment (JRE).
Thanks to the great efforts of the FreeBSD Java team, these should be 
available for inclusion with the upcoming release of FreeBSD 4.5 in 
January, 2002.

The general availability of a distributable version of Java will 
benefit end users, commercial users, and developers who use FreeBSD.  
Java continues to grow in popularity and has become heavily used in
server side web applications, one of FreeBSD's core areas of strength.  
With an officially licensed binary Java distribution, FreeBSD becomes 
an ideal platform for execution, development, and deployment of Java 
based solutions.

This agreement would not have been possible without the efforts of Nate
Williams.  Nate not only started the FreeBSD Java porting effort, but
also brought Sun Microsystems and the Foundation together to negotiate a
license.

The FreeBSD Foundation, a 501(c)3 non-profit Colorado corporation, is
dedicated to supporting the FreeBSD Project.  In addition to sponsoring
the development and promotion of FreeBSD, as a recognized legal entity,
the Foundation can enter into legal contracts and hold intellectual
property in trust for the Project.  The Foundation hopes that today's
license agreement announcement is only the first of many occasions where
the Foundation's legal status allows FreeBSD to grow in ways that would
not otherwise be possible.

The FreeBSD Foundation relies solely on contributions from individuals
and businesses to fund its activities.  In negotiating the JDK/JRE
license, where both parties were in almost immediate agreement to
the license terms, the Foundation still spent in excess of $3000 on
legal fees.  Highly qualified and experienced legal counsel is the
expensive yet necessary cost of protecting the best interests of
the FreeBSD Project.  This particular activity was funded solely
by contributions from the FreeBSD Foundation's board of directors.
The Foundation will only be able to continue its work with further
contributions from the general public.  Donations to the Foundation
are usually considered tax-deductible for those paying United States
Federal income tax.  Any donations postmarked by December 31st.
are applicable for the 2001 tax year.  Information on how to donate
to the Foundation can be found at:

http://www.freebsdfoundation.org

The Board of Directors
The FreeBSD Foundation

NOTE: Sun, Sun Microsystems, Java, JDK, and JRE are trademarks or
      registered trademarks of Sun Microsystems, Inc. in the United
      States and other countries. 

This is the moderated mailing list freebsd-announce.
The list contains announcements of new FreeBSD capabilities,
important events and project milestones.
See also the FreeBSD Web pages at http://www.freebsd.org


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

----- End forwarded message -----

The FreeBSD Java community owe the FreeBSD Foundation and Nate Williams 
a great deal of thanks for negotiating license.  The Foundation has 
supplied a considerable amount of time and financial input and Nate has 
spent _countless_ hours over a period of years to arrange this.

I would like to emphasise that the FreeBSD Foundation has spent $3000 of
the directors own money on this license and that they are a non-profit
organisation, meaning that donations to the Foundation are tax
deductible.  To all those who have expressed interest in financially
helping previously (and everyone else :), I'd suggest that now may be a
perfect time to boost your tax deductions right before the end of the
year.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 796 6999
Information Technology                Web   : http://www.eyesbeyond.com


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


From owner-freebsd-java  Sun Dec 23 12:58: 4 2001
Delivered-To: freebsd-java@freebsd.org
Received: from www.blender.nl (nan.iae.nl [212.61.24.44])
	by hub.freebsd.org (Postfix) with ESMTP id 72D2737B419
	for <freebsd-java@FreeBSD.ORG>; Sun, 23 Dec 2001 12:58:01 -0800 (PST)
Received: (from hans@localhost)
	by www.blender.nl (8.9.3/8.9.3) id VAA10405
	for freebsd-java@FreeBSD.ORG; Sun, 23 Dec 2001 21:58:00 +0100 (CET)
Date: Sun, 23 Dec 2001 21:58:00 +0100 (CET)
From: Hans Lambermont <hans@blender.nl>
Message-Id: <200112232058.VAA10405@www.blender.nl>
To: freebsd-java@FreeBSD.ORG
Subject: RE: JNI, -pthread vs -lc_r
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Joe wrote:
> Hans Lambermont writes:
>  > Linking a JNI .so with only -pthread seems insufficient. I get:
>  >     Exception in thread "main" java.lang.UnsatisfiedLinkError:
>  >     libblenderssr.so:
>  >     /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_getspecific"
> 
> What exactly do you mean by "linking a JNI .so"?  Are you trying to
> produce a .so file or are you trying to produce an executable image?
> Are you using an existing .so produced by the port or are you trying to
> create your own?  It makes a huge difference in the answer.

Sorry that I was not clear. I created my own .so file and access
it from java by using the JNI.

When not using java, running the program (with the c main() still present)
the program runs fine (linking with -pthread).

When creating the shared object however (and removing the c main() function),
-pthread is not enough at runtime. -lc_r is also required.

My question is 'why is this ?'.

-- 
Hans

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


From owner-freebsd-java  Mon Dec 24  2: 5:30 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250])
	by hub.freebsd.org (Postfix) with ESMTP id 8CDA537B41B
	for <freebsd-java@freebsd.org>; Mon, 24 Dec 2001 02:05:28 -0800 (PST)
Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1])
	by ool-18bacefa.dyn.optonline.net (8.11.6/8.11.6) with ESMTP id fBOA6E438191
	for <freebsd-java@freebsd.org>; Mon, 24 Dec 2001 05:06:14 -0500 (EST)
	(envelope-from c.rued@xsb.com)
Date: Mon, 24 Dec 2001 05:06:14 -0500
From: Christopher Rued <c.rued@xsb.com>
To: freebsd-java@freebsd.org
Subject: Java binary license for FreeBSD
Message-ID: <20011224050614.G35005@ool-18bacefa>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Balsa 1.3.0
Lines: 13
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

> The FreeBSD Foundation is pleased to announce that it has secured a 
> license from Sun Microsystems to distribute a native FreeBSD version 
> of both the Java Development Kit (JDK) and the Java Runtime 
> Environment (JRE). Thanks to the great efforts of the FreeBSD Java 
> team, these should be available for inclusion with the upcoming 
> release of FreeBSD 4.5 in January, 2002.

This is great news! 
Does this mean that the port will be less annoying?  In other words, 
can we download the source without going to Sun's site and without a 
manual download? 
Does this also mean that we can have a package for it? 
- Chris

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


From owner-freebsd-java  Mon Dec 24  3:35: 9 2001
Delivered-To: freebsd-java@freebsd.org
Received: from eomer.vianetworks.nl (eomer.vianetworks.nl [212.61.15.10])
	by hub.freebsd.org (Postfix) with ESMTP id 13CFD37B416
	for <java@freebsd.org>; Mon, 24 Dec 2001 03:35:07 -0800 (PST)
Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37])
	by eomer.vianetworks.nl (Postfix) with ESMTP id AE17020F72
	for <java@freebsd.org>; Mon, 24 Dec 2001 12:35:05 +0100 (CET)
Received: (from uucp@localhost)
	by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id MAA06008
	for java@freebsd.org; Mon, 24 Dec 2001 12:35:05 +0100 (MET)
Received: (from marc@localhost)
	by bowtie.nl (8.11.1/8.11.1) id fBOBXBO06614;
	Mon, 24 Dec 2001 12:33:11 +0100 (CET)
	(envelope-from marc)
Date: Mon, 24 Dec 2001 12:33:11 +0100
From: Marc van Kempen <marc@bowtie.nl>
To: java@freebsd.org
Subject: Re: Fwd: FreeBSD Foundation Announces Java License for FreeBSD
Message-ID: <20011224123311.A6581@nietzsche.intra.bowtie.nl>
Reply-To: marc@bowtie.nl
References: <20011224041352.A7340@misty.eyesbeyond.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011224041352.A7340@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Mon, Dec 24, 2001 at 04:13:52AM +1030
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Mon, Dec 24, 2001 at 04:13:52AM +1030, Greg Lewis wrote:
> In case everyone didn't see this message on freebsd-announce:
> 
> ----- Forwarded message from The FreeBSD Foundation <bod@freebsdfoundation.org> -----
> 
> The FreeBSD Foundation is pleased to announce that it has secured a
> license from Sun Microsystems to distribute a native FreeBSD version of
> both the Java Development Kit (JDK) and the Java Runtime Environment (JRE).
> Thanks to the great efforts of the FreeBSD Java team, these should be 
> available for inclusion with the upcoming release of FreeBSD 4.5 in 
> January, 2002.
> 

This is great news, kudos to Nate and all others involved.

Regards,
Marc.

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


From owner-freebsd-java  Mon Dec 24  3:52:23 2001
Delivered-To: freebsd-java@freebsd.org
Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77])
	by hub.freebsd.org (Postfix) with ESMTP id A857337B419
	for <java@freebsd.org>; Mon, 24 Dec 2001 03:52:20 -0800 (PST)
Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1)
	id 16ITgu-0001rO-00; Mon, 24 Dec 2001 11:54:48 +0000
Date: Mon, 24 Dec 2001 11:54:48 +0000
From: Rasputin <rasputin@submonkey.net>
To: Hans Lambermont <hans@blender.nl>
Cc: java@freebsd.org
Subject: Re: JNI, -pthread vs -lc_r
Message-ID: <20011224115448.A7117@shikima.mine.nu>
Reply-To: Rasputin <rasputin@submonkey.net>
References: <200112232058.VAA10405@www.blender.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200112232058.VAA10405@www.blender.nl>; from hans@blender.nl on Sun, Dec 23, 2001 at 09:58:00PM +0100
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

* Hans Lambermont <hans@blender.nl> [011223 21:05]:
> Joe wrote:
> > Hans Lambermont writes:
> >  > Linking a JNI .so with only -pthread seems insufficient. I get:
> >  >     Exception in thread "main" java.lang.UnsatisfiedLinkError:
> >  >     libblenderssr.so:
> >  >     /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_getspecific"

> Sorry that I was not clear. I created my own .so file and access
> it from java by using the JNI.

> When not using java, running the program (with the c main() still present)
> the program runs fine (linking with -pthread).
> 
> When creating the shared object however (and removing the c main() function),
> -pthread is not enough at runtime. -lc_r is also required.
> 
> My question is 'why is this ?'.

My educated guess would be the the JVM wasn't built with the -pthread
flag - so Java doesn't recognize the symbols used by libGL.

I'm not too hot on the ins and outs of C libraries or JNI,
but I've seen the same error with things
that I've tried to build against Mesa.

[ Happy Christmas to all on list, incidentally.
And thanks to 'Santa' Nate for the licensed JVM ;) ]

-- 
Rasputin :: Jack of All Trades - Master of Nuns ::

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


From owner-freebsd-java  Mon Dec 24 11: 1:28 2001
Delivered-To: freebsd-java@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 018DC37B405
	for <java@freebsd.org>; Mon, 24 Dec 2001 11:01:21 -0800 (PST)
Received: (from peter@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id fBOJ1K505247
	for java@freebsd.org; Mon, 24 Dec 2001 11:01:20 -0800 (PST)
	(envelope-from owner-bugmaster@freebsd.org)
Date: Mon, 24 Dec 2001 11:01:20 -0800 (PST)
Message-Id: <200112241901.fBOJ1K505247@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: java@FreeBSD.org
Subject: Current problem reports assigned to you
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Current FreeBSD problem reports
Critical problems
Serious problems

S  Submitted   Tracker     Resp.    Description
-------------------------------------------------------------------------------
o [2001/11/01] ports/31688 java     JDK 1.3.1 Update for Sun's Java Communica
o [2001/11/01] ports/31689 java     JDK 1.3.1 update for FreeBSD/Java Commapi

2 problems total.

Non-critical problems

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


From owner-freebsd-java  Mon Dec 24 12:39:58 2001
Delivered-To: freebsd-java@freebsd.org
Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228])
	by hub.freebsd.org (Postfix) with SMTP id E034237B41E
	for <freebsd-java@freebsd.org>; Mon, 24 Dec 2001 12:39:53 -0800 (PST)
Received: (qmail 6068 invoked by uid 1001); 24 Dec 2001 20:42:29 -0000
From: Joe Kelsey <joe@zircon.seattle.wa.us>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15399.37685.556086.133776@zircon.zircon.seattle.wa.us>
Date: Mon, 24 Dec 2001 12:42:29 -0800
To: freebsd-java@freebsd.org
Subject: RE: JNI, -pthread vs -lc_r
In-Reply-To: <200112232058.VAA10405@www.blender.nl>
References: <200112232058.VAA10405@www.blender.nl>
X-Mailer: VM 6.98 under Emacs 21.1.1
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hans Lambermont writes:
 > Joe wrote:
 > > Hans Lambermont writes:
 > >  > Linking a JNI .so with only -pthread seems insufficient. I get:
 > >  >     Exception in thread "main" java.lang.UnsatisfiedLinkError:
 > >  >     libblenderssr.so:
 > >  >     /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_getspecific"
 > > 
 > > What exactly do you mean by "linking a JNI .so"?  Are you trying to
 > > produce a .so file or are you trying to produce an executable image?
 > > Are you using an existing .so produced by the port or are you trying to
 > > create your own?  It makes a huge difference in the answer.
 > 
 > Sorry that I was not clear. I created my own .so file and access
 > it from java by using the JNI.

The p5 version of the port has many problems in the area of creating .so
files, and these problems are related to a fundamental misunderstanding
that mnay people have over exactly how to create shared objects.

The fundamental thing to remember when creating a shared object is not
to be overly specific on the linker command line.  If your shared object
references things in another shared object, simply leave any mention of
the other shared object OFF the linker command line when creating your
own shared object.  (However there are important exceptions to this
rule, and Java is an important exception).

This is a nice rule to follow.  When creating a shared object, the only
things mentioned on the linker command line should be the objects which
make up your sharedobject and you should mention no libraries at all,
and especially do not use the -pthread option on your shared object
linker command line.

It is important to understand how Java starts up in order to decide
exactly how to create a shared object.  When using the p5 version of the
port, the only supported threading model is green threads, therefore JNI
objects will NOT work with the java executables created by the p5
version of the port.

When the p6 version of the port appears, native threads will be
supported and then you can use JNI objects safely.  However, due to the
fact that the pthreads library in FreeBSD is merely a different
implementation of the standard C library and not a separate object, it
is impossible to choose threading model at run time, as it is in other
operating systems.  In FreeBSD, you must know in advance whether or not
your executable will use native or green threads and link your main
program appropriately, using either -pthreads or not on your linker and
compiler command lines.

The only way around this situation is to either change the FreeBSD
pthreads implementation to be a separate object separate from the
standard C library or else to modify your main program so that it does
not make ANY C library calls until after choosing a threading model.
This is nearly impossible to do.

Therefore, any executable which creates a JVM needs to be linked with
either -pthreads or not, depending on which threading model it will
choose.  That means that we will have separate executables for all Java
standard programs depending on threading model.

Here is the dynamic behavior of an executable which creates a JVM:

1. load the appropriate version of libjvm.so (classic, hotspot client,
   hotspot server, other...

2. libjvm.so loads libhpi.so depending on threads model (green
   vs. native) chosen from the THREADS_FLAG environmental variable.
   This the the point that creates the problem.  The C library chosen
   when creating the master executable has already been chosen, and
   cannot be unchosen or replaced at runtime.  Therefore, the runtime
   choioce of threading model better match the link time model chosen
   for the executable...

3. The JVM continues on and starts loading the rest of Java dynamically,
   starting with the java and verify objects, then adding other objects
   as the running java program requests them.  This is the tricky part.
   If you want to use the AWT, the the AWT shared object has to include
   references to all of the X stuff it needs.  This is "sort of" an
   exception to the rule that no shared object should be linked with
   references outside of itself, since we have to automagically pull in
   the required X stuff at runtime when it is needed.  Unfortuantely,
   here we run into another runtime gotcha.  AWT is based on Motif, and
   Motif requires that it be loaded BEFORE ANY Xt calls are made, so
   that it can hook up to some sort of Xt magic and initialize all of
   its variable before any user Xt calls are made.  This causes problems
   in the Mozilla plugin, since part of the Mozilla plugin C code makes
   Xt calls BEFORE the AWT is loaded, therefore the Mozilla plugin needs
   to have Xm and Xt loaded at link time rather than at AWT load time.

I could be wrong about the JNI not working with green threads, but I
heard that on this list.

The real problem is that the FreeBSD pthreads implementation is
interwoven in the C library and cannot be unwoven.  Therefore it is
impossible to support threading model choice at runtime in FreeBSD.
Therefore, some part of Java compatibility has to be sacrificed.

/Joe

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


From owner-freebsd-java  Mon Dec 24 18:26:57 2001
Delivered-To: freebsd-java@freebsd.org
Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3])
	by hub.freebsd.org (Postfix) with ESMTP id D4A8237B405
	for <freebsd-java@FreeBSD.org>; Mon, 24 Dec 2001 18:26:51 -0800 (PST)
Received: from vigrid.com (pm3-pt11.pcnet.net [206.105.29.85])
	by pcnet1.pcnet.com (8.12.1/8.12.1) with ESMTP id fBP2PgFe014587;
	Mon, 24 Dec 2001 21:25:43 -0500 (EST)
Message-ID: <3C27E51C.8FAA054E@vigrid.com>
Date: Mon, 24 Dec 2001 21:31:56 -0500
From: "Daniel M. Eischen" <eischen@vigrid.com>
X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 5.0-CURRENT i386)
MIME-Version: 1.0
To: Joe Kelsey <joe@zircon.seattle.wa.us>
Cc: freebsd-java@FreeBSD.org
Subject: Re: JNI, -pthread vs -lc_r
References: <200112232058.VAA10405@www.blender.nl> <15399.37685.556086.133776@zircon.zircon.seattle.wa.us>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Joe Kelsey wrote:
> 
> Hans Lambermont writes:
>  > Joe wrote:
>  > > Hans Lambermont writes:
>  > >  > Linking a JNI .so with only -pthread seems insufficient. I get:
>  > >  >     Exception in thread "main" java.lang.UnsatisfiedLinkError:
>  > >  >     libblenderssr.so:
>  > >  >     /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_getspecific"
>  > >
>  > > What exactly do you mean by "linking a JNI .so"?  Are you trying to
>  > > produce a .so file or are you trying to produce an executable image?
>  > > Are you using an existing .so produced by the port or are you trying to
>  > > create your own?  It makes a huge difference in the answer.
>  >
>  > Sorry that I was not clear. I created my own .so file and access
>  > it from java by using the JNI.
> 
> The p5 version of the port has many problems in the area of creating .so
> files, and these problems are related to a fundamental misunderstanding
> that mnay people have over exactly how to create shared objects.
> 
> The fundamental thing to remember when creating a shared object is not
> to be overly specific on the linker command line.  If your shared object
> references things in another shared object, simply leave any mention of
> the other shared object OFF the linker command line when creating your
> own shared object.  (However there are important exceptions to this
> rule, and Java is an important exception).
> 
> This is a nice rule to follow.  When creating a shared object, the only
> things mentioned on the linker command line should be the objects which
> make up your sharedobject and you should mention no libraries at all,
> and especially do not use the -pthread option on your shared object
> linker command line.
> 
> It is important to understand how Java starts up in order to decide
> exactly how to create a shared object.  When using the p5 version of the
> port, the only supported threading model is green threads, therefore JNI
> objects will NOT work with the java executables created by the p5
> version of the port.
> 
> When the p6 version of the port appears, native threads will be
> supported and then you can use JNI objects safely.  However, due to the
> fact that the pthreads library in FreeBSD is merely a different
> implementation of the standard C library and not a separate object, it
> is impossible to choose threading model at run time, as it is in other
> operating systems.  In FreeBSD, you must know in advance whether or not
> your executable will use native or green threads and link your main
> program appropriately, using either -pthreads or not on your linker and
> compiler command lines.

This isn't true for -current and hasn't been for some time.  See
below.

> The only way around this situation is to either change the FreeBSD
> pthreads implementation to be a separate object separate from the
> standard C library or else to modify your main program so that it does
> not make ANY C library calls until after choosing a threading model.
> This is nearly impossible to do.
> 
> Therefore, any executable which creates a JVM needs to be linked with
> either -pthreads or not, depending on which threading model it will
> choose.  That means that we will have separate executables for all Java
> standard programs depending on threading model.
> 
> Here is the dynamic behavior of an executable which creates a JVM:
> 
> 1. load the appropriate version of libjvm.so (classic, hotspot client,
>    hotspot server, other...
> 
> 2. libjvm.so loads libhpi.so depending on threads model (green
>    vs. native) chosen from the THREADS_FLAG environmental variable.
>    This the the point that creates the problem.  The C library chosen
>    when creating the master executable has already been chosen, and
>    cannot be unchosen or replaced at runtime.  Therefore, the runtime
>    choioce of threading model better match the link time model chosen
>    for the executable...
> 
> 3. The JVM continues on and starts loading the rest of Java dynamically,
>    starting with the java and verify objects, then adding other objects
>    as the running java program requests them.  This is the tricky part.
>    If you want to use the AWT, the the AWT shared object has to include
>    references to all of the X stuff it needs.  This is "sort of" an
>    exception to the rule that no shared object should be linked with
>    references outside of itself, since we have to automagically pull in
>    the required X stuff at runtime when it is needed.  Unfortuantely,
>    here we run into another runtime gotcha.  AWT is based on Motif, and
>    Motif requires that it be loaded BEFORE ANY Xt calls are made, so
>    that it can hook up to some sort of Xt magic and initialize all of
>    its variable before any user Xt calls are made.  This causes problems
>    in the Mozilla plugin, since part of the Mozilla plugin C code makes
>    Xt calls BEFORE the AWT is loaded, therefore the Mozilla plugin needs
>    to have Xm and Xt loaded at link time rather than at AWT load time.
> 
> I could be wrong about the JNI not working with green threads, but I
> heard that on this list.
> 
> The real problem is that the FreeBSD pthreads implementation is
> interwoven in the C library and cannot be unwoven.

Well, since I unwove it about a year ago (in -current), I think it
_can_ be unwoven ;-)  libc and libc_r are separate entities and you
can now link an application to both with -lc_r.  It isn't that way
in -stable because it would necessitate a library version bump and
probably cause too much breakage.

-- 
Dan Eischen

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


From owner-freebsd-java  Tue Dec 25  0:26:12 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133])
	by hub.freebsd.org (Postfix) with ESMTP id 0E17D37B417
	for <freebsd-java@freebsd.org>; Tue, 25 Dec 2001 00:26:10 -0800 (PST)
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id fBP8Q8015497
	for <freebsd-java@freebsd.org>; Tue, 25 Dec 2001 17:26:08 +0900 (JST)
	env-from (k.shudou@aist.go.jp)
Received: from mail03.aist.go.jp
        by rpsmtp1.aist.go.jp  with ESMTP id fBP8Q8o14811
        for <freebsd-java@freebsd.org>; Tue, 25 Dec 2001 17:26:08 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
Received: from localhost
        by mail03.aist.go.jp  with ESMTP id fBP8Q7g08441
        for <freebsd-java@freebsd.org>; Tue, 25 Dec 2001 17:26:07 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
To: freebsd-java@freebsd.org
Subject: Re: Fwd: FreeBSD Foundation Announces Java License for FreeBSD
From: shudo@computer.org
In-Reply-To: <20011224041352.A7340@misty.eyesbeyond.com>
References: <20011224041352.A7340@misty.eyesbeyond.com>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20011225172607T.shudoh@aist.go.jp>
Date: Tue, 25 Dec 2001 17:26:07 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 28
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Greg Lewis <glewis@eyesbeyond.com> wrote:

> The FreeBSD Foundation is pleased to announce that it has secured a
> license from Sun Microsystems to distribute a native FreeBSD version of
> both the Java Development Kit (JDK) and the Java Runtime Environment (JRE).
> Thanks to the great efforts of the FreeBSD Java team, these should be
> available for inclusion with the upcoming release of FreeBSD 4.5 in
> January, 2002.

Several questions come to my mind.

- Which version of Java 2 SDK will be released
  in a binary form with FreeBSD 4.5?
  I guess 1.3.1p5, p6 or p7 can be a likely candidate.
  How about Native Threads and HotSpot VMs?

- How is the compatibility test with the JCK progressing?
  The binary being released will have to pass the JCK.
  Is this assumption correct?

> This agreement would not have been possible without the efforts of Nate
> Williams.  Nate not only started the FreeBSD Java porting effort, but
> also brought Sun Microsystems and the Foundation together to negotiate a
> license.

We'd appreciate all involved in this present.

  Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/

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


From owner-freebsd-java  Tue Dec 25  9:16:37 2001
Delivered-To: freebsd-java@freebsd.org
Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228])
	by hub.freebsd.org (Postfix) with SMTP id 8488D37B419
	for <freebsd-java@FreeBSD.org>; Tue, 25 Dec 2001 09:16:35 -0800 (PST)
Received: (qmail 14761 invoked by uid 1001); 25 Dec 2001 17:19:09 -0000
From: Joe Kelsey <joe@zircon.seattle.wa.us>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15400.46349.742715.796089@zircon.zircon.seattle.wa.us>
Date: Tue, 25 Dec 2001 09:19:09 -0800
To: "Daniel M. Eischen" <eischen@vigrid.com>
Cc: Joe Kelsey <joe@zircon.seattle.wa.us>, freebsd-java@FreeBSD.org
Subject: Re: JNI, -pthread vs -lc_r
In-Reply-To: <3C27E51C.8FAA054E@vigrid.com>
References: <200112232058.VAA10405@www.blender.nl>
	<15399.37685.556086.133776@zircon.zircon.seattle.wa.us>
	<3C27E51C.8FAA054E@vigrid.com>
X-Mailer: VM 6.98 under Emacs 21.1.1
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Daniel M. Eischen writes:
 > Well, since I unwove it about a year ago (in -current), I think it
 > _can_ be unwoven ;-)  libc and libc_r are separate entities and you
 > can now link an application to both with -lc_r.  It isn't that way
 > in -stable because it would necessitate a library version bump and
 > probably cause too much breakage.

I am glad to hear that, as it is a concern for Java.  Unfortunately, we
will not be able to take advantage of it...

/Joe

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


From owner-freebsd-java  Tue Dec 25 19:33:33 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202])
	by hub.freebsd.org (Postfix) with ESMTP id 2749437B417
	for <freebsd-java@freebsd.org>; Tue, 25 Dec 2001 19:33:31 -0800 (PST)
Received: from [207.135.128.145] (helo=misty.eyesbeyond.com)
	by mgr2.xmission.com with esmtp (Exim 3.22 #1)
	id 16J4or-000367-00; Tue, 25 Dec 2001 20:33:30 -0700
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.6/8.11.6) id fBQ3XFE12548;
	Wed, 26 Dec 2001 14:03:15 +1030 (CST)
	(envelope-from glewis)
Date: Wed, 26 Dec 2001 14:03:13 +1030
From: Greg Lewis <glewis@eyesbeyond.com>
To: Joe Kelsey <joe@zircon.seattle.wa.us>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: JNI, -pthread vs -lc_r
Message-ID: <20011226140313.A12529@misty.eyesbeyond.com>
References: <200112232058.VAA10405@www.blender.nl> <15399.37685.556086.133776@zircon.zircon.seattle.wa.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <15399.37685.556086.133776@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Mon, Dec 24, 2001 at 12:42:29PM -0800
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Mon, Dec 24, 2001 at 12:42:29PM -0800, Joe Kelsey wrote:
> It is important to understand how Java starts up in order to decide
> exactly how to create a shared object.  When using the p5 version of the
> port, the only supported threading model is green threads, therefore JNI
> objects will NOT work with the java executables created by the p5
> version of the port.

Ummm, you do realise that a whole slab of the JDK is done with JNI don't
you?  JNI objects work just fine with green threads.  If it were otherwise
then there would be no JDK port.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 796 6999
Information Technology                Web   : http://www.eyesbeyond.com


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


From owner-freebsd-java  Wed Dec 26  2:47:34 2001
Delivered-To: freebsd-java@freebsd.org
Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15])
	by hub.freebsd.org (Postfix) with ESMTP
	id 02D3837B41B; Wed, 26 Dec 2001 02:47:29 -0800 (PST)
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA62022;
	Wed, 26 Dec 2001 12:47:26 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Received: from vega.vega.com (h36.227.dialup.iptcom.net [212.9.227.36])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id MAA00363;
	Wed, 26 Dec 2001 12:47:24 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1])
	by vega.vega.com (8.11.6/8.11.3) with ESMTP id fBQAjrm06180;
	Wed, 26 Dec 2001 12:45:53 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Message-ID: <3C29AA6B.15E65820@FreeBSD.org>
Date: Wed, 26 Dec 2001 12:46:03 +0200
From: Maxim Sobolev <sobomax@FreeBSD.org>
Organization: Vega International Capital
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,uk,ru
MIME-Version: 1.0
To: java@FreeBSD.org
Cc: ports@FreeBSD.org
Subject: Pre-compiled native JDK1.3.1
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hi folks,

I wonder if anybody is working on creating pre-compiled native
JDK1.3.1 package. It would be nice if we could offer it with the
upcoming 4.5 release.

-Maxim

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


From owner-freebsd-java  Wed Dec 26  7:21:48 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mx7.port.ru (mx7.port.ru [194.67.57.17])
	by hub.freebsd.org (Postfix) with ESMTP id 71E6837B419
	for <freebsd-java@freebsd.org>; Wed, 26 Dec 2001 07:21:42 -0800 (PST)
Received: from f4.int ([10.0.0.51] helo=f4.mail.ru)
	by mx7.port.ru with esmtp (Exim 3.14 #1)
	id 16JFsD-0002rt-00
	for freebsd-java@freebsd.org; Wed, 26 Dec 2001 18:21:41 +0300
Received: from mail by f4.mail.ru with local (Exim 3.14 #1)
	id 16JFsC-0001QU-00
	for freebsd-java@freebsd.org; Wed, 26 Dec 2001 18:21:40 +0300
Received: from [193.109.240.65] by win.mail.ru with HTTP;
	Wed, 26 Dec 2001 18:21:40 +0300
From: "Alexander Verhovtsev" <jabajaba2000@mail.ru>
To: freebsd-java@freebsd.org
Cc: 
Subject: php ext/java
Mime-Version: 1.0
X-Mailer: mPOP Web-Mail 2.19
X-Originating-IP: unknown via proxy [193.109.240.65]
Date: Wed, 26 Dec 2001 18:21:40 +0300
Reply-To: "Alexander Verhovtsev" <jabajaba2000@mail.ru>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Message-Id: <E16JFsC-0001QU-00@f4.mail.ru>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hi all!

Have anyone php java extension working on FreeBSD with native jdk1.2.2 or 1.3.1?
I always get "Unable to create JVM" error(JNI_CreateJavaVM fails). Any ideas?
Maybe this is about threads problem discussed here?
Maybe I should add some options when building apache|php (php is apache module).


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


From owner-freebsd-java  Wed Dec 26  9:12: 9 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by hub.freebsd.org (Postfix) with ESMTP
	id 8514537B405; Wed, 26 Dec 2001 09:12:02 -0800 (PST)
Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02463;
	Wed, 26 Dec 2001 10:12:00 -0700 (MST)
	(envelope-from nate@yogotech.com)
Received: (from nate@localhost)
	by caddis.yogotech.com (8.11.6/8.11.6) id fBQHBxw06752;
	Wed, 26 Dec 2001 10:11:59 -0700 (MST)
	(envelope-from nate)
From: Nate Williams <nate@yogotech.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15402.1247.756252.133940@caddis.yogotech.com>
Date: Wed, 26 Dec 2001 10:11:59 -0700
To: Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: Pre-compiled native JDK1.3.1
In-Reply-To: <3C29AA6B.15E65820@FreeBSD.org>
References: <3C29AA6B.15E65820@FreeBSD.org>
X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Reply-To: nate@yogotech.com (Nate Williams)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

> I wonder if anybody is working on creating pre-compiled native
> JDK1.3.1 package. It would be nice if we could offer it with the
> upcoming 4.5 release.

As soon as the JDK passes the TCK (Test Compatability Kit), we can make
a binary release.  Greg would know more about when that occurs.




Nate

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


From owner-freebsd-java  Wed Dec 26 14:59: 1 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201])
	by hub.freebsd.org (Postfix) with ESMTP
	id 7928A37B405; Wed, 26 Dec 2001 14:58:51 -0800 (PST)
Received: from [207.135.128.145] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 16JN0b-0002dR-00; Wed, 26 Dec 2001 15:58:50 -0700
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.6/8.11.6) id fBQMwjE14563;
	Thu, 27 Dec 2001 09:28:45 +1030 (CST)
	(envelope-from glewis)
Date: Thu, 27 Dec 2001 09:28:45 +1030
From: Greg Lewis <glewis@eyesbeyond.com>
To: Nate Williams <nate@yogotech.com>
Cc: Maxim Sobolev <sobomax@FreeBSD.ORG>, java@FreeBSD.ORG,
	ports@FreeBSD.ORG
Subject: Re: Pre-compiled native JDK1.3.1
Message-ID: <20011227092845.A14544@misty.eyesbeyond.com>
References: <3C29AA6B.15E65820@FreeBSD.org> <15402.1247.756252.133940@caddis.yogotech.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <15402.1247.756252.133940@caddis.yogotech.com>; from nate@yogotech.com on Wed, Dec 26, 2001 at 10:11:59AM -0700
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Wed, Dec 26, 2001 at 10:11:59AM -0700, Nate Williams wrote:
> > I wonder if anybody is working on creating pre-compiled native
> > JDK1.3.1 package. It would be nice if we could offer it with the
> > upcoming 4.5 release.
> 
> As soon as the JDK passes the TCK (Test Compatability Kit), we can make
> a binary release.  Greg would know more about when that occurs.

I'm not even thinking about it until the family leaves and the computer
room reverts to a computer room from a bedroom :).

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 796 6999
Information Technology                Web   : http://www.eyesbeyond.com


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


From owner-freebsd-java  Wed Dec 26 15: 1: 8 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201])
	by hub.freebsd.org (Postfix) with ESMTP id AC4A137B405
	for <freebsd-java@freebsd.org>; Wed, 26 Dec 2001 15:01:05 -0800 (PST)
Received: from [207.135.128.145] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 16JN2m-0002rC-00; Wed, 26 Dec 2001 16:01:05 -0700
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.6/8.11.6) id fBQN10u14578;
	Thu, 27 Dec 2001 09:31:00 +1030 (CST)
	(envelope-from glewis)
Date: Thu, 27 Dec 2001 09:31:00 +1030
From: Greg Lewis <glewis@eyesbeyond.com>
To: shudo@computer.org
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: Fwd: FreeBSD Foundation Announces Java License for FreeBSD
Message-ID: <20011227093059.B14544@misty.eyesbeyond.com>
References: <20011224041352.A7340@misty.eyesbeyond.com> <20011225172607T.shudoh@aist.go.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011225172607T.shudoh@aist.go.jp>; from shudo@computer.org on Tue, Dec 25, 2001 at 05:26:07PM +0900
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Tue, Dec 25, 2001 at 05:26:07PM +0900, shudo@computer.org wrote:
> Several questions come to my mind.
> 
> - Which version of Java 2 SDK will be released
>   in a binary form with FreeBSD 4.5?
>   I guess 1.3.1p5, p6 or p7 can be a likely candidate.
>   How about Native Threads and HotSpot VMs?

1.3.1 is the most likely candidate at this point.  Native threads and
HotSpot depend entirely on their status as the release date for 4.5
draws closer.

> - How is the compatibility test with the JCK progressing?
>   The binary being released will have to pass the JCK.
>   Is this assumption correct?

This is a correct assumption.  I've no status to report on the JCK yet.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 796 6999
Information Technology                Web   : http://www.eyesbeyond.com


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


From owner-freebsd-java  Wed Dec 26 15: 4:55 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202])
	by hub.freebsd.org (Postfix) with ESMTP
	id 720CA37B405; Wed, 26 Dec 2001 15:04:52 -0800 (PST)
Received: from [207.135.128.145] (helo=misty.eyesbeyond.com)
	by mgr2.xmission.com with esmtp (Exim 3.22 #1)
	id 16JN6Q-00066J-00; Wed, 26 Dec 2001 16:04:51 -0700
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.6/8.11.6) id fBQN4lG14604;
	Thu, 27 Dec 2001 09:34:47 +1030 (CST)
	(envelope-from glewis)
Date: Thu, 27 Dec 2001 09:34:47 +1030
From: Greg Lewis <glewis@eyesbeyond.com>
To: Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: Pre-compiled native JDK1.3.1
Message-ID: <20011227093447.C14544@misty.eyesbeyond.com>
References: <3C29AA6B.15E65820@FreeBSD.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3C29AA6B.15E65820@FreeBSD.org>; from sobomax@FreeBSD.ORG on Wed, Dec 26, 2001 at 12:46:03PM +0200
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Wed, Dec 26, 2001 at 12:46:03PM +0200, Maxim Sobolev wrote:
> I wonder if anybody is working on creating pre-compiled native
> JDK1.3.1 package. It would be nice if we could offer it with the
> upcoming 4.5 release.

The plan is to do this for 4.5, but the JDK must first pass the JCK to
be legal under the licensing agreement.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 796 6999
Information Technology                Web   : http://www.eyesbeyond.com


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


From owner-freebsd-java  Wed Dec 26 22: 8:58 2001
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133])
	by hub.freebsd.org (Postfix) with ESMTP id 1D76237B405
	for <java@FreeBSD.ORG>; Wed, 26 Dec 2001 22:08:55 -0800 (PST)
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id fBR68r007058;
	Thu, 27 Dec 2001 15:08:53 +0900 (JST)
	env-from (k.shudou@aist.go.jp)
Received: from mail02.aist.go.jp
        by rpsmtp1.aist.go.jp  with ESMTP id fBR68rc25836;
        Thu, 27 Dec 2001 15:08:53 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
Received: from localhost
        by mail02.aist.go.jp  with ESMTP id fBR68qB23803;
        Thu, 27 Dec 2001 15:08:52 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
To: java@FreeBSD.ORG
Cc: shudo@computer.org
Subject: Re: Pre-compiled native JDK1.3.1
From: shudo@computer.org
In-Reply-To: <20011227093447.C14544@misty.eyesbeyond.com>
References: <3C29AA6B.15E65820@FreeBSD.org>
	<20011227093447.C14544@misty.eyesbeyond.com>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20011227150851O.shudoh@aist.go.jp>
Date: Thu, 27 Dec 2001 15:08:51 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 27
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Greg Lewis wrote:

> On Wed, Dec 26, 2001 at 12:46:03PM +0200, Maxim Sobolev wrote:
> > I wonder if anybody is working on creating pre-compiled native
> > JDK1.3.1 package. It would be nice if we could offer it with the
> > upcoming 4.5 release.
>
> The plan is to do this for 4.5, but the JDK must first pass the JCK to
> be legal under the licensing agreement.

I'm doubtful whether any Java 2 SDK can pass the JCK
(now called J2SE TCK?) until FreeBSD 4.5 is out.

Even two years ago, the JCK contains about 2500 of VM
tests and also 2500 of lang tests. Java 2 SDK forFreeBSD
will take a certain period of time to pass the tests.

Sun provided the JCK to the Blackdown Java-Linux porting
team in December 1998 or earlier and the team could
announce the availability of JDK 1.2 pre1 in March 1999.
The current situation of FreeBSD JDK may be better than it,
but the release of FBSD 4.5 is only a month away.

BTW, we'd appreciate all efforts on the release of a
binary of the JDK.

  Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/

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


From owner-freebsd-java  Wed Dec 26 22:26:28 2001
Delivered-To: freebsd-java@freebsd.org
Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179])
	by hub.freebsd.org (Postfix) with ESMTP id 42B8937B417
	for <java@FreeBSD.ORG>; Wed, 26 Dec 2001 22:26:25 -0800 (PST)
Received: from localhost (meshko@localhost)
	by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA17939;
	Thu, 27 Dec 2001 01:26:22 -0500
Date: Thu, 27 Dec 2001 01:26:22 -0500 (EST)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: <shudo@computer.org>
Cc: <java@FreeBSD.ORG>
Subject: Re: Pre-compiled native JDK1.3.1
In-Reply-To: <20011227150851O.shudoh@aist.go.jp>
Message-ID: <Pine.LNX.4.33.0112270123370.17936-100000@daedalus.cs.brandeis.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

> Even two years ago, the JCK contains about 2500 of VM
> tests and also 2500 of lang tests. Java 2 SDK forFreeBSD
> will take a certain period of time to pass the tests.

So is someone running those tests? Are they publically available to
anyone? Would it be useful if people just tried running the tests and
reporting what fails and how?



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


From owner-freebsd-java  Thu Dec 27  3:48:54 2001
Delivered-To: freebsd-java@freebsd.org
Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15])
	by hub.freebsd.org (Postfix) with ESMTP
	id B869037B405; Thu, 27 Dec 2001 03:48:47 -0800 (PST)
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id NAA48427;
	Thu, 27 Dec 2001 13:48:33 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Received: from vega.vega.com (h207.234.dialup.iptcom.net [212.9.234.207])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA79602;
	Thu, 27 Dec 2001 13:48:30 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1])
	by vega.vega.com (8.11.6/8.11.3) with ESMTP id fBRBlwm11913;
	Thu, 27 Dec 2001 13:47:58 +0200 (EET)
	(envelope-from sobomax@FreeBSD.org)
Message-ID: <3C2B0A7A.43944A39@FreeBSD.org>
Date: Thu, 27 Dec 2001 13:48:10 +0200
From: Maxim Sobolev <sobomax@FreeBSD.org>
Organization: Vega International Capital
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,uk,ru
MIME-Version: 1.0
To: Nate Williams <nate@yogotech.com>
Cc: java@FreeBSD.org, ports@FreeBSD.org
Subject: Re: Pre-compiled native JDK1.3.1
References: <3C29AA6B.15E65820@FreeBSD.org> <15402.1247.756252.133940@caddis.yogotech.com>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Nate Williams wrote:
> 
> > I wonder if anybody is working on creating pre-compiled native
> > JDK1.3.1 package. It would be nice if we could offer it with the
> > upcoming 4.5 release.
> 
> As soon as the JDK passes the TCK (Test Compatability Kit), we can make
> a binary release.  Greg would know more about when that occurs.

Ah, I see. Thank you for clarification and all your great work on
making FreeBSD a better platform for Java.

-Maxim

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


From owner-freebsd-java  Thu Dec 27  8:29: 9 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by hub.freebsd.org (Postfix) with ESMTP id D50D437B417
	for <java@FreeBSD.ORG>; Thu, 27 Dec 2001 08:29:04 -0800 (PST)
Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25377;
	Thu, 27 Dec 2001 09:29:00 -0700 (MST)
	(envelope-from nate@yogotech.com)
Received: (from nate@localhost)
	by caddis.yogotech.com (8.11.6/8.11.6) id fBRGSxr10693;
	Thu, 27 Dec 2001 09:28:59 -0700 (MST)
	(envelope-from nate)
From: Nate Williams <nate@yogotech.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15403.19531.406492.770958@caddis.yogotech.com>
Date: Thu, 27 Dec 2001 09:28:59 -0700
To: Mikhail Kruk <meshko@cs.brandeis.edu>
Cc: <shudo@computer.org>, <java@FreeBSD.ORG>
Subject: Re: Pre-compiled native JDK1.3.1
In-Reply-To: <Pine.LNX.4.33.0112270123370.17936-100000@daedalus.cs.brandeis.edu>
References: <20011227150851O.shudoh@aist.go.jp>
	<Pine.LNX.4.33.0112270123370.17936-100000@daedalus.cs.brandeis.edu>
X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Reply-To: nate@yogotech.com (Nate Williams)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

> > Even two years ago, the JCK contains about 2500 of VM
> > tests and also 2500 of lang tests. Java 2 SDK forFreeBSD
> > will take a certain period of time to pass the tests.
> 
> So is someone running those tests?

Someone will be, yes.

> Are they publically available to
> anyone?

Unfortunately, no.  Part of the licensing issue was getting access to
the TCK.

> Would it be useful if people just tried running the tests and
> reporting what fails and how?

It would be, but unfortunately because of legal reasons, only one person
has access to the TCK tests.


Nate

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


From owner-freebsd-java  Thu Dec 27 11:53: 8 2001
Delivered-To: freebsd-java@freebsd.org
Received: from shuttle.kreska.org (12-237-47-47.client.attbi.com [12.237.47.47])
	by hub.freebsd.org (Postfix) with ESMTP id 2C23337B41B
	for <freebsd-java@freebsd.org>; Thu, 27 Dec 2001 11:53:05 -0800 (PST)
Received: from localhost (jkreska@localhost)
	by shuttle.kreska.org (8.11.1/8.11.1) with ESMTP id fBRJr3A25469
	for <freebsd-java@freebsd.org>; Thu, 27 Dec 2001 13:53:04 -0600 (CST)
	(envelope-from jkreska@kreska.org)
Date: Thu, 27 Dec 2001 13:53:02 -0600 (CST)
From: Jeff Kreska <jkreska@kreska.org>
X-Sender: jkreska@shuttle.jeff.com
To: freebsd-java@freebsd.org
Subject: Java Compat Kit
In-Reply-To: <1009472138.311.46096.m12@yahoogroups.com>
Message-ID: <Pine.BSF.4.21.0112271329020.25431-100000@shuttle.jeff.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Has anyone tryed using IBM's jacks to verify the compiler portion?
setenv CVSROOT :pserver:anoncvs@oss.software.ibm.com:/usr/cvs/jikes

cvs login
paswsd anoncvs

cvs checkout jacks



What about Mauve for the VM and class libs?
http://sourceware.cygnus.com/mauve/

Maybee these prods could be used to allow other to help out in getting the
binary release to pass the JCK.  I don't know if there are enough tests
defiened to mimick the JCK, but it's a thought.


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


From owner-freebsd-java  Thu Dec 27 20:11:39 2001
Delivered-To: freebsd-java@freebsd.org
Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179])
	by hub.freebsd.org (Postfix) with ESMTP id AD1C137B417
	for <java@freebsd.org>; Thu, 27 Dec 2001 20:11:36 -0800 (PST)
Received: from localhost (meshko@localhost)
	by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id XAA19891
	for <java@freebsd.org>; Thu, 27 Dec 2001 23:11:34 -0500
Date: Thu, 27 Dec 2001 23:11:33 -0500 (EST)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: <java@freebsd.org>
Subject: weird behavior
Message-ID: <Pine.LNX.4.33.0112272306270.19809-100000@daedalus.cs.brandeis.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

This happens both in linux 1.3.0 and patchset 5. I think it weird enough
to turn out to be interesting to someone.
I have an application which listens on socket and also takes commands from
system.in. So it has a thread which does accept() on a server socket and
also thread which does readLine() on System.in. This combination works
fine until I login as one user and then su to another and start the
program. If I do that, only the console thread (the one that reads lines
from system.in) works -- the socket never returns from accept() call.

...and yes, I did waste 3 hours on this stupidity :(


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


From owner-freebsd-java  Sat Dec 29 22:31:30 2001
Delivered-To: freebsd-java@freebsd.org
Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179])
	by hub.freebsd.org (Postfix) with ESMTP id 1DB7137B417
	for <java@freebsd.org>; Sat, 29 Dec 2001 22:31:21 -0800 (PST)
Received: from localhost (meshko@localhost)
	by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA24793
	for <java@freebsd.org>; Sun, 30 Dec 2001 01:31:19 -0500
Date: Sun, 30 Dec 2001 01:31:19 -0500 (EST)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: <java@freebsd.org>
Subject: [bug report] / by zero => core dump in appletviewer
Message-ID: <Pine.LNX.4.33.0112300116560.24480-200000@daedalus.cs.brandeis.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="1082241795-961802859-1009693879=:24480"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--1082241795-961802859-1009693879=:24480
Content-Type: TEXT/PLAIN; charset=US-ASCII

The follwoing code

playersAlive.insertElementAt
	    ( playerId,
	      Math.abs( rand.nextInt() % playersAlive.size()) );


produces

Exception occurred during event dispatching:
java.lang.ArithmeticException: / by zero
        at scorch.FakeNetwork.sendLogin(FakeNetwork.java:39)
.....

on linux-jdk1.3.0 but core dumps in native 1.3.1 (this is appletviewer)
I've attached console output. Sorry, can't give you the actual core dump
but console dumps seems informative too...

--1082241795-961802859-1009693879=:24480
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dump
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0112300131190.24480@daedalus.cs.brandeis.edu>
Content-Description: 
Content-Disposition: attachment; filename=dump

U0lHRlBFICAgIDgqICAgYXJpdGhtZXRpYyBleGNlcHRpb24NCg0KRnVsbCB0
aHJlYWQgZHVtcCBDbGFzc2ljIFZNICgxLjMuMS1pbnRlcm5hbC1tZXNoa28t
MDExMjA2LTE2OjA2LCBncmVlbiB0aHJlYWRzKToNCiAgICAiU2NyZWVuIFVw
ZGF0ZXIiIChUSUQ6MHgyOGY1ZTcwMCwgc3lzX3RocmVhZF90OjB4ODMzNmE4
MCwgc3RhdGU6Q1cpIHByaW89NQ0KCWF0IGphdmEubGFuZy5PYmplY3Qud2Fp
dChOYXRpdmUgTWV0aG9kKQ0KCWF0IGphdmEubGFuZy5PYmplY3Qud2FpdChP
YmplY3QuamF2YTo0MjApDQoJYXQgc3VuLmF3dC5TY3JlZW5VcGRhdGVyLm5l
eHRFbnRyeShTY3JlZW5VcGRhdGVyLmphdmE6NzYpDQoJYXQgc3VuLmF3dC5T
Y3JlZW5VcGRhdGVyLnJ1bihTY3JlZW5VcGRhdGVyLmphd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1vbml0b3I6IG93bmVyIDx1bmtub3duIHRocmVhZD4gKDB4ODA1
NTI4MCkgMSBlbnRyeQ0KICAgIFRocmVhZCBxdWV1ZSBsb2NrOiBvd25lciA8
dW5rbm93biB0aHJlYWQ+ICgweDgwNTUyODApIDEgZW50cnkNCglXYWl0aW5n
IHRvIGJlIG5vdGlmaWVkOg0KCSAgICAiVGhyZWFkLTAiICgweDgwNTUwODAp
DQogICAgTW9uaXRvciByZWdpc3RyeTogb3duZXIgPHVua25vd24gdGhyZWFk
PiAoMHg4MDU1MjgwKSAxIGVudHJ5DQoNCg==
--1082241795-961802859-1009693879=:24480--

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