From owner-freebsd-java  Sun Sep  2 13:39:10 2001
Delivered-To: freebsd-java@freebsd.org
Received: from crewsoft.com (ns.aenet.net [157.22.214.1])
	by hub.freebsd.org (Postfix) with ESMTP id 5160137B405
	for <freebsd-java@freebsd.org>; Sun,  2 Sep 2001 13:39:08 -0700 (PDT)
Received: from [63.206.198.29] (account cberger@wireless-networks.com HELO wireless-networks.com)
  by crewsoft.com (CommuniGate Pro SMTP 3.4.7)
  with ESMTP id 833776; Sun, 02 Sep 2001 13:42:55 -0700
Message-ID: <3B929BAF.87A76F7C@wireless-networks.com>
Date: Sun, 02 Sep 2001 13:50:55 -0700
From: Cedric Berger <cedric@wireless-networks.com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
Cc: freebsd-java@freebsd.org
Subject: Re: jdk 1.3.1 and .resizeable(false)
References: <20010901143930.H26376@mad.hazardous.org> <20010901185246.D7086@snark.ptc.spbu.ru>
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

> PS: Can you check if the problem exists in jdk1.4 beta2?

Hmm,

If anybody is able to run reliably GUI applications with jdk1.4
on any BSD system, I would be glad to hear it.

Cedric



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


From owner-freebsd-java  Sun Sep  2 14:26: 3 2001
Delivered-To: freebsd-java@freebsd.org
Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189])
	by hub.freebsd.org (Postfix) with ESMTP id 948BF37B406
	for <freebsd-java@FreeBSD.ORG>; Sun,  2 Sep 2001 14:26:00 -0700 (PDT)
Received: from localhost (meshko@localhost)
	by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id RAA05074;
	Sun, 2 Sep 2001 17:25:31 -0400
Date: Sun, 2 Sep 2001 17:25:31 -0400 (EDT)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: Cedric Berger <cedric@wireless-networks.com>
Cc: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>,
	<freebsd-java@FreeBSD.ORG>
Subject: Re: jdk 1.3.1 and .resizeable(false)
In-Reply-To: <3B929BAF.87A76F7C@wireless-networks.com>
Message-ID: <Pine.LNX.4.33.0109021724320.5072-100000@calliope.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


> > PS: Can you check if the problem exists in jdk1.4 beta2?

The thing is that for me (on fvwm2) linux-jdk1.3 works just fine.
(except that the window appears without the frame, but the window itself
is just fine)


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


From owner-freebsd-java  Sun Sep  2 15:51:51 2001
Delivered-To: freebsd-java@freebsd.org
Received: from itouch.co.nz (itouch.co.nz [203.99.66.188])
	by hub.freebsd.org (Postfix) with ESMTP id F0C6437B405
	for <freebsd-java@freebsd.org>; Sun,  2 Sep 2001 15:51:44 -0700 (PDT)
Received: (from jonc@localhost)
	by itouch.co.nz (8.11.3/8.11.1) id f82Mphh48512
	for freebsd-java@freebsd.org; Mon, 3 Sep 2001 10:51:43 +1200 (NZST)
	(envelope-from jonc)
Date: Mon, 3 Sep 2001 10:51:43 +1200
From: Jonathan Chen <jonathan.chen@itouch.co.nz>
To: freebsd-java@freebsd.org
Subject: TIB software and JDK 1.2.2b10
Message-ID: <20010903105143.A47630@itouchnz.itouch>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0"
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


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I'm note sure whether anyone on the list has had experience with using
the TIB (http://www.tibco.com), but I'm having some problems using the
software available from:

    ftp://ftp.rv.tibco.com/pub/tibrv_6_8/software/tibrv_6_8_fbsd42_x86.tar.gz

My system details:

    jonc,10:46pm> uname -v
    FreeBSD 4.4-RC #2: Fri Aug 31 13:11:25 NZST 200
    jonc,10:46am> java -version
    java version "1.2.2"
    Classic VM (build jdk1.2.2-FreeBSD:root:2001/05/30-11:11, green
    threads, nojit)

When I attempt to run the example programs tibrvserver.java and
tibrvclient.java; the jvm coredumps on starting up tibrvclient (see
attachement, coredumps available on request). 

How would I go about trying to figure out just where the problem is?

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=e

Create a transport on service 7522 network 127.0.0.1 daemon null
2001-09-03 10:46:19 TIB/Rendezvous Error Not Handled by Process:
{ADV_CLASS="WARN" ADV_SOURCE="SYSTEM" ADV_NAME="LICENSE.EXPIRE" ADV_DESC="The license will expire" expiretime=2001-09-02 23:46:19Z}
Attempting to contact server using subject TIBRV.LOCATE...
SIGSEGV 11  segmentation violation 

Full thread dump Classic VM (jdk1.2.2-FreeBSD:root:2001/05/30-11:11, green threads):
    "Finalizer" (TID:0x28e6d320, sys_thread_t:0x8094c80, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x28e6d3b0, sys_thread_t:0x8094480, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:424)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x28e6d3e0, sys_thread_t:0x8051c80, state:CW) prio=5
    "main" (TID:0x28e6d1e0, sys_thread_t:0x8051080, state:R) prio=5
	at com.tibco.tibrv.TibrvImplTPortC.natSendRequest(Native Method)
	at com.tibco.tibrv.TibrvImplTPortC.sendRequest(TibrvImplTPortC.java:79)
	at com.tibco.tibrv.TibrvTransport.sendRequest(TibrvTransport.java:161)
	at tibrvclient.<init>(tibrvclient.java:142)
	at tibrvclient.main(tibrvclient.java:280)
Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@28E6D338/28EA3028: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x8094c80)
    java.lang.ref.Reference$Lock@28E6D3C0/28EA2B20: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x8094480)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x8051080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8051c80)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
	Waiting to be notified:
	    <unknown thread> (0x8051280)
    Thread queue lock: owner "main" (0x8051080) 1 entry
    Monitor registry: owner "main" (0x8051080) 1 entry

SIGABRT 6  abort() 

Full thread dump Classic VM (jdk1.2.2-FreeBSD:root:2001/05/30-11:11, green threads):
    "Finalizer" (TID:0x28e6d320, sys_thread_t:0x8094c80, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x28e6d3b0, sys_thread_t:0x8094480, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:424)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x28e6d3e0, sys_thread_t:0x8051c80, state:CW) prio=5
    "main" (TID:0x28e6d1e0, sys_thread_t:0x8051080, state:R) prio=5
	at com.tibco.tibrv.TibrvImplTPortC.natSendRequest(Native Method)
	at com.tibco.tibrv.TibrvImplTPortC.sendRequest(TibrvImplTPortC.java:79)
	at com.tibco.tibrv.TibrvTransport.sendRequest(TibrvTransport.java:161)
	at tibrvclient.<init>(tibrvclient.java:142)
	at tibrvclient.main(tibrvclient.java:280)
Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@28E6D338/28EA3028: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x8094c80)
    java.lang.ref.Reference$Lock@28E6D3C0/28EA2B20: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x8094480)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x8051080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8051c80)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
	Waiting to be notified:
	    <unknown thread> (0x8051280)
    Thread queue lock: owner "main" (0x8051080) 1 entry
    Monitor registry: owner "main" (0x8051080) 1 entry

Abort trap - core dumped

--6TrnltStXW4iwmi0--

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


From owner-freebsd-java  Sun Sep  2 17:11:41 2001
Delivered-To: freebsd-java@freebsd.org
Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131])
	by hub.freebsd.org (Postfix) with ESMTP id D0B0A37B401
	for <freebsd-java@FreeBSD.ORG>; Sun,  2 Sep 2001 17:11:38 -0700 (PDT)
Received: (from uwe@localhost)
	by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id EAA10696
	for freebsd-java@FreeBSD.ORG; Mon, 3 Sep 2001 04:11:25 +0400 (MSD)
Date: Mon, 3 Sep 2001 04:11:25 +0400
From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To: freebsd-java@FreeBSD.ORG
Subject: Re: jdk 1.3.1 and .resizeable(false)
Message-ID: <20010903041125.B10665@snark.ptc.spbu.ru>
Mail-Followup-To: freebsd-java@FreeBSD.ORG
References: <3B929BAF.87A76F7C@wireless-networks.com> <Pine.LNX.4.33.0109021724320.5072-100000@calliope.cs.brandeis.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.3i
In-Reply-To: <Pine.LNX.4.33.0109021724320.5072-100000@calliope.cs.brandeis.edu>; from "Mikhail Kruk" on Sun, Sep 02, 2001 at 17:25:31
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 Sun, Sep 02, 2001 at 17:25:31 -0400, Mikhail Kruk wrote:

> > > PS: Can you check if the problem exists in jdk1.4 beta2?
> 
> The thing is that for me (on fvwm2) linux-jdk1.3 works just fine.
> (except that the window appears without the frame, but the window
> itself is just fine)

What do you mean by "without the frame"?

PS: Please, don't Cc me, getting two copies of each reply starts to be
very inconvenient after just 3 or 4 replies.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

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


From owner-freebsd-java  Sun Sep  2 17:35:26 2001
Delivered-To: freebsd-java@freebsd.org
Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189])
	by hub.freebsd.org (Postfix) with ESMTP id 4954E37B403
	for <freebsd-java@FreeBSD.ORG>; Sun,  2 Sep 2001 17:35:23 -0700 (PDT)
Received: from localhost (meshko@localhost)
	by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id UAA05528
	for <freebsd-java@FreeBSD.ORG>; Sun, 2 Sep 2001 20:35:20 -0400
Date: Sun, 2 Sep 2001 20:35:20 -0400 (EDT)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: <freebsd-java@FreeBSD.ORG>
Subject: Re: jdk 1.3.1 and .resizeable(false)
In-Reply-To: <20010903041125.B10665@snark.ptc.spbu.ru>
Message-ID: <Pine.LNX.4.33.0109022033420.5520-100000@calliope.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

> > The thing is that for me (on fvwm2) linux-jdk1.3 works just fine.
> > (except that the window appears without the frame, but the window
> > itself is just fine)
>
> What do you mean by "without the frame"?

Well, basically frame appears near the window and has size of 1x1 and
window appears where it should be and looks just fine. (I was kind of
emberassed to describe that, but if you insist ;)

Again this ^^ happens on linux-jdk1.3 under fvwm2.


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


From owner-freebsd-java  Mon Sep  3  1: 2:26 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 01FCB37B405
	for <freebsd-java@freebsd.org>; Mon,  3 Sep 2001 01:02:19 -0700 (PDT)
Received: from [166.70.7.144] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 15dog9-0006QX-00; Mon, 03 Sep 2001 02:02:13 -0600
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.3/8.11.3) id f8380bc57861;
	Mon, 3 Sep 2001 17:30:37 +0930 (CST)
	(envelope-from glewis)
Date: Mon, 3 Sep 2001 17:30:32 +0930
From: Greg Lewis <glewis@eyesbeyond.com>
To: Jonathan Chen <jonathan.chen@itouch.co.nz>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: TIB software and JDK 1.2.2b10
Message-ID: <20010903173032.A57835@misty.eyesbeyond.com>
References: <20010903105143.A47630@itouchnz.itouch>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010903105143.A47630@itouchnz.itouch>; from jonathan.chen@itouch.co.nz on Mon, Sep 03, 2001 at 10:51:43AM +1200
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, Sep 03, 2001 at 10:51:43AM +1200, Jonathan Chen wrote:
> Hi,
> 
> I'm note sure whether anyone on the list has had experience with using
> the TIB (http://www.tibco.com), but I'm having some problems using the
> software available from:
> 
>     ftp://ftp.rv.tibco.com/pub/tibrv_6_8/software/tibrv_6_8_fbsd42_x86.tar.gz
> 
[snip]
> When I attempt to run the example programs tibrvserver.java and
> tibrvclient.java; the jvm coredumps on starting up tibrvclient (see
> attachement, coredumps available on request). 
> 
> How would I go about trying to figure out just where the problem is?

You might get some information from running gdb on the core.  More likely
to help though is to run TIB under the debugging executable (java_g) and
gdb.  E.g.

> setenv DEBUG_PROG gdb
> java_g
[gdb starts up]
gdb> run [Whatever arguments you use to start TIB]

Then see what happens.  You might have to ignore a few signals to get
to the actual dump.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
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  Tue Sep  4  7:33:10 2001
Delivered-To: freebsd-java@freebsd.org
Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129])
	by hub.freebsd.org (Postfix) with ESMTP id E81D737B407
	for <java@freebsd.org>; Tue,  4 Sep 2001 07:33:03 -0700 (PDT)
Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id XAA28851; Tue, 4 Sep 2001 23:28:53 +0900 (JST)
Date: Tue, 04 Sep 2001 23:31:27 +0900
Message-ID: <5566az81ts.wl@tripper.private>
From: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: Mikhail Kruk <meshko@cs.brandeis.edu>, java@freebsd.org
Subject: Re: jdk1.3.1 socket problem
In-Reply-To: <20010831023820.A20158@gnuppy>
References: <55lmk5czi0.wl@tripper.private>
	<Pine.LNX.4.33.0108271126100.16201-100000@calliope.cs.brandeis.edu>
	<20010831023820.A20158@gnuppy>
User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: multipart/mixed;
 boundary="Multipart_Tue_Sep__4_23:31:27_2001-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

--Multipart_Tue_Sep__4_23:31:27_2001-1
Content-Type: text/plain; charset=US-ASCII

Hi, I made a patch will solve the problem that connect() on
green_threads *almost always* fails.

The problem is in caused by the logic at
`src/solaris/hpi/green_threads/src/iomgr.c'.  We use non-blocking mode
socket and connect() wrapper in iomgr.c have a code to wait until
connection is established.  At the end of waiting path, the codes
check whether the connection is really established using *the second*
syscall of connect, it will always fail because it is really the
second attempt of connect so EISCONN(errno == 56) may mean the fact
that conection is established.

My patch uses Solaris's path, so it doesn't use second syscall of
connect.  Why I use Solaris's path instead of linux's path is that is
the way JDK 1.2.2 does.

My patch also solves another problem, that Java VM sometimes
fails by assertion.  It is caused because some functions in libc uses
shortcut path to syscall such as _open, _close,,, etc.  So we need
more wrappers in iomgr.c.

--
Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
Matsuoka laboratory,
Department of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.


--Multipart_Tue_Sep__4_23:31:27_2001-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="iomgr.c.diff"
Content-Transfer-Encoding: 7bit

Index: iomgr.c
===================================================================
RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c,v
retrieving revision 1.2
diff -u -r1.2 iomgr.c
--- iomgr.c	2001/07/13 16:38:45	1.2
+++ iomgr.c	2001/09/04 13:53:10
@@ -699,6 +699,29 @@
  * fds before we return control. Known calls that are already taken care
  * of are: open, fcntl, pipe dup and creat.
  */
+#if defined(__FreeBSD__)
+#if defined(__i386__)
+#define ASM __asm__ volatile
+#define WRAPFUNC(FUNC)				\
+do {						\
+    ASM(".globl _" #FUNC);			\
+    ASM("	.type	_" #FUNC ",@function");	\
+    ASM("_" #FUNC ":");				\
+    ASM("jmp " #FUNC);				\
+} while (0)
+
+static void __dummy() {
+    WRAPFUNC(open);
+    WRAPFUNC(close);
+    WRAPFUNC(read);
+    WRAPFUNC(write);
+    WRAPFUNC(fcntl);
+    __dummy();
+}
+#else
+#error "Unsupported architecture."
+#endif
+#endif
 
 /*
  * Although we set the SA_RESTART flag on all our signal handlers we
@@ -766,8 +789,10 @@
         asyncIODeactivateFD(fd);
     }
 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-    else
+    else {
+	sysAssert(fd_flags[fd] == 0);
 	fd_flags[fd] = 0;
+    }
 #endif
 
     ret = (*systable[SYS_CLOSE].addr)(fd);
@@ -2428,7 +2453,7 @@
 #endif
 	    if (cnt == 1) {
 		int bytes;
-#if defined(__solaris__)
+#if defined(__solaris__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 		if (ioctl(fd, FIONREAD, &bytes) == -1) {
 		    if (errno == EPIPE) {
 			errno = ECONNREFUSED;
@@ -2445,11 +2470,11 @@
 		break;
 #else
                 if ((*systable[SYS_CONNECT].addr)(fd, him, len) == -1) {
-                  if (errno == ENOTCONN) {
-                      errno = ECONNREFUSED;
-                  }
-                  /* see comment above */
-                  break;
+                    if (errno == ENOTCONN) {
+                	errno = ECONNREFUSED;
+                    }
+                    /* see comment above */
+                    break;
                 }
 #endif
 #ifdef __linux__

--Multipart_Tue_Sep__4_23:31:27_2001-1--

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


From owner-freebsd-java  Tue Sep  4  8:43:18 2001
Delivered-To: freebsd-java@freebsd.org
Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129])
	by hub.freebsd.org (Postfix) with ESMTP id 87ADF37B403
	for <freebsd-java@FreeBSD.ORG>; Tue,  4 Sep 2001 08:43:12 -0700 (PDT)
Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id AAA00862; Wed, 5 Sep 2001 00:43:08 +0900 (JST)
Date: Wed, 05 Sep 2001 00:45:42 +0900
Message-ID: <554rqj7ye1.wl@tripper.private>
From: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To: freebsd-java@FreeBSD.ORG
Subject: (j2sdk1.3.1) AWT improvement
User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: multipart/mixed;
 boundary="Multipart_Wed_Sep__5_00:45:42_2001-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

--Multipart_Wed_Sep__5_00:45:42_2001-1
Content-Type: text/plain; charset=US-ASCII

Hi all,

I was trying to improve j2sdk1.3.1's awt codes for FreeBSD these days.

The first step is to use Solaris's part instead of Linux's one because
most of Solaris's codes seems to be improved since jdk1.2.2, on the
other hand, most parts of Linux's codes are not so modifed.

The patch attached is the one that realize my first step modification.
If you are interested in awt improvement and familiar with awt/jfc and
have time to build/test the patch, please test it.

I want to know how the patched version works well or bad.
I want to know what is wrong with my patch.

Thanks,

--
Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
Matsuoka laboratory,
Department of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.


--Multipart_Wed_Sep__5_00:45:42_2001-1
Content-Type: application/octet-stream; type=gzip
Content-Disposition: attachment; filename="awt.diffs.gz"
Content-Transfer-Encoding: base64

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

--Multipart_Wed_Sep__5_00:45:42_2001-1--

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


From owner-freebsd-java  Tue Sep  4 14:45: 4 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP id 33FAC37B403
	for <java@freebsd.org>; Tue,  4 Sep 2001 14:45:02 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15eNzp-0001iP-00; Tue, 04 Sep 2001 14:44:37 -0700
Date: Tue, 4 Sep 2001 14:44:37 -0700
To: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Cc: Bill Huey <billh@gnuppy.monkey.org>,
	Mikhail Kruk <meshko@cs.brandeis.edu>, java@freebsd.org
Subject: Re: jdk1.3.1 socket problem
Message-ID: <20010904144437.A5743@gnuppy>
References: <55lmk5czi0.wl@tripper.private> <Pine.LNX.4.33.0108271126100.16201-100000@calliope.cs.brandeis.edu> <20010831023820.A20158@gnuppy> <5566az81ts.wl@tripper.private>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5566az81ts.wl@tripper.private>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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, Sep 04, 2001 at 11:31:27PM +0900, Fuyuhiko Maruyama wrote:
> Hi, I made a patch will solve the problem that connect() on
> green_threads *almost always* fails.
> 
> The problem is in caused by the logic at
> `src/solaris/hpi/green_threads/src/iomgr.c'.  We use non-blocking mode
> socket and connect() wrapper in iomgr.c have a code to wait until
> connection is established.  At the end of waiting path, the codes
> check whether the connection is really established using *the second*
> syscall of connect, it will always fail because it is really the
> second attempt of connect so EISCONN(errno == 56) may mean the fact
> that conection is established.

I'll check if this fixes the remote display problem after I rebuild X on
my machine.

I've been kind of dozing off on this the last couple of days and I wasn't
even looking at the right subtree (native threads) when pounding on this
stuff earlier this week. I guess I haven't made the mental transition from
my BSD/OS project to FreeBSD yet and expected that native threading should
work. ;-)

That's pretty silly of me given that it was a pretty obvious bug to fix.

If this is the last major bug outside of the threading system, then I'll
work on native threading next. ;-)

Thanks Fuyuhiko ;)

bill


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


From owner-freebsd-java  Tue Sep  4 16:22:24 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 9EC7737B405
	for <freebsd-java@FreeBSD.ORG>; Tue,  4 Sep 2001 16:22:21 -0700 (PDT)
Received: from localhost (meshko@localhost)
	by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id TAA30091;
	Tue, 4 Sep 2001 19:22:07 -0400
Date: Tue, 4 Sep 2001 19:22:06 -0400 (EDT)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Cc: <freebsd-java@FreeBSD.ORG>
Subject: Re: (j2sdk1.3.1) AWT improvement
In-Reply-To: <554rqj7ye1.wl@tripper.private>
Message-ID: <Pine.LNX.4.33.0109041921320.29859-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

>
> I want to know how the patched version works well or bad.
> I want to know what is wrong with my patch.
>

It definitely works better! Thanks!
Is there a patch for the connect (56) problem?


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


From owner-freebsd-java  Tue Sep  4 16:31:29 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP id 0627B37B405
	for <freebsd-java@freebsd.org>; Tue,  4 Sep 2001 16:31:26 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15ePf6-0003b1-00; Tue, 04 Sep 2001 16:31:20 -0700
Date: Tue, 4 Sep 2001 16:31:19 -0700
To: Mikhail Kruk <meshko@cs.brandeis.edu>
Cc: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>,
	freebsd-java@FreeBSD.ORG
Subject: Re: (j2sdk1.3.1) AWT improvement
Message-ID: <20010904163119.A13798@gnuppy>
References: <554rqj7ye1.wl@tripper.private> <Pine.LNX.4.33.0109041921320.29859-100000@daedalus.cs.brandeis.edu>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF"
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.33.0109041921320.29859-100000@daedalus.cs.brandeis.edu>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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


--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Sep 04, 2001 at 07:22:06PM -0400, Mikhail Kruk wrote:
> It definitely works better! Thanks!
> Is there a patch for the connect (56) problem?

Look in this file:

../src/solaris/hpi/green_threads/src/iomgr.c

Find the connect() definition and make that the block with ioctl()
is used over the second connect() attempt. That's all. ;-)

Or maybe try this patch from the CVS ?

bill


--3MwIy2ne0vdjdPXF
Content-Type: application/x-troff
Content-Disposition: attachment; filename=t

Index: javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c
===================================================================
RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -r1.2 -r1.3
701a702,724
> #if defined(__FreeBSD__)
> #if defined(__i386__)
> #define ASM __asm__ volatile
> #define WRAPFUNC(FUNC)				\
> do {						\
>     ASM(".globl _" #FUNC);			\
>     ASM("	.type	_" #FUNC ",@function");	\
>     ASM("_" #FUNC ":");				\
>     ASM("jmp " #FUNC);				\
> } while (0)
> 
> static void __dummy() {
>     WRAPFUNC(open);
>     WRAPFUNC(close);
>     WRAPFUNC(read);
>     WRAPFUNC(write);
>     WRAPFUNC(fcntl);
>     __dummy();
> }
> #else
> #error "Unsupported architecture."
> #endif
> #endif
769c792,793
<     else
---
>     else {
> 	sysAssert(fd_flags[fd] == 0);
770a795
>     }
2431c2456
< #if defined(__solaris__)
---
> #if defined(__solaris__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
2448,2452c2473,2477
<                   if (errno == ENOTCONN) {
<                       errno = ECONNREFUSED;
<                   }
<                   /* see comment above */
<                   break;
---
>                     if (errno == ENOTCONN) {
>                 	errno = ECONNREFUSED;
>                     }
>                     /* see comment above */
>                     break;

--3MwIy2ne0vdjdPXF--

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


From owner-freebsd-java  Tue Sep  4 17: 4:37 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 C8FA337B401
	for <freebsd-java@FreeBSD.ORG>; Tue,  4 Sep 2001 17:04:33 -0700 (PDT)
Received: from localhost (meshko@localhost)
	by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id UAA30153;
	Tue, 4 Sep 2001 20:04:01 -0400
Date: Tue, 4 Sep 2001 20:04:01 -0400 (EDT)
From: Mikhail Kruk <meshko@cs.brandeis.edu>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>,
	<freebsd-java@FreeBSD.ORG>
Subject: Re: (j2sdk1.3.1) AWT improvement
In-Reply-To: <20010904163119.A13798@gnuppy>
Message-ID: <Pine.LNX.4.33.0109041954490.29859-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

> On Tue, Sep 04, 2001 at 07:22:06PM -0400, Mikhail Kruk wrote:
> > It definitely works better! Thanks!
> > Is there a patch for the connect (56) problem?
>
> Look in this file:
>
> ../src/solaris/hpi/green_threads/src/iomgr.c
>
> Find the connect() definition and make that the block with ioctl()
> is used over the second connect() attempt. That's all. ;-)

Yeah, yeah, I couldn't figure out how to fix it from the discussion :(
Thanks for explaining :)
So now I've tried the application I wanted to try and bottom line is that
Swing works flawlessly now, network works too (including SSL) and
performance is almost acceptable (can't wait to test is with JIT ;)  on my
PII-300.

Also I've been running a small network server on 1.3.1 for the last 10
days or so and had no problems with it. It hasn't been under a lot of load yet,
but it saw 10-15 simultaneous users and survived.

So many thanks to everyone who worked on the port!


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


From owner-freebsd-java  Tue Sep  4 17:22:32 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP id DB71737B40D
	for <freebsd-java@freebsd.org>; Tue,  4 Sep 2001 17:22:29 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15eQSO-0004G1-00; Tue, 04 Sep 2001 17:22:16 -0700
Date: Tue, 4 Sep 2001 17:22:16 -0700
To: Mikhail Kruk <meshko@cs.brandeis.edu>
Cc: Bill Huey <billh@gnuppy.monkey.org>,
	Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>,
	freebsd-java@FreeBSD.ORG, glewis@eyesbeyond.com
Subject: Re: (j2sdk1.3.1) AWT improvement
Message-ID: <20010904172216.A16341@gnuppy>
References: <20010904163119.A13798@gnuppy> <Pine.LNX.4.33.0109041954490.29859-100000@daedalus.cs.brandeis.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.33.0109041954490.29859-100000@daedalus.cs.brandeis.edu>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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, Sep 04, 2001 at 08:04:01PM -0400, Mikhail Kruk wrote:
> Also I've been running a small network server on 1.3.1 for the last 10
> days or so and had no problems with it. It hasn't been under a lot of load yet,
> but it saw 10-15 simultaneous users and survived.
> 
> So many thanks to everyone who worked on the port!

Yeah, the progress on it has been pretty amazing these last couple
of months. I'm feeling a bit left out of the excitement since I
haven't been terribly effectual at trying to get up to speed with
the development process. But with Fuyuhiko's rather neat OpenJIT project
working in 1.3.1 (with connect() fixes...), we should have something
that's collectively pretty close to 1.2.2 in quality/speed from what
I can see. The only two parts missing from here are native threading &
HotSpot.

When the both of those get going, it'll be effectively reached a point
where it can be considered for legitimate beta testing, IMO.

Good to hear about your success.  ;-)

bill


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


From owner-freebsd-java  Tue Sep  4 18: 9:57 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP id DAA5837B407
	for <freebsd-java@freebsd.org>; Tue,  4 Sep 2001 18:09:54 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15eRCM-00059T-00; Tue, 04 Sep 2001 18:09:46 -0700
Date: Tue, 4 Sep 2001 18:09:46 -0700
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: Mikhail Kruk <meshko@cs.brandeis.edu>,
	Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>,
	freebsd-java@FreeBSD.ORG, glewis@eyesbeyond.com
Subject: Re: (j2sdk1.3.1) AWT improvement
Message-ID: <20010904180946.A19784@gnuppy>
References: <20010904163119.A13798@gnuppy> <Pine.LNX.4.33.0109041954490.29859-100000@daedalus.cs.brandeis.edu> <20010904172216.A16341@gnuppy>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010904172216.A16341@gnuppy>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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


Hey folks,

BTW, this fixes remote display. ;-)

bill


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


From owner-freebsd-java  Wed Sep  5  2:23: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 19C5B37B403
	for <freebsd-java@freebsd.org>; Wed,  5 Sep 2001 02:23:10 -0700 (PDT)
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id f859N8N07889
	for <freebsd-java@freebsd.org>; Wed, 5 Sep 2001 18:23:08 +0900 (JST)
	env-from (k.shudou@aist.go.jp)
Received: from mail08.aist.go.jp
        by rpsmtp1.aist.go.jp  with ESMTP id f859N7s01908
        for <freebsd-java@freebsd.org>; Wed, 5 Sep 2001 18:23:07 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
Received: from localhost
        by mail08.aist.go.jp  with ESMTP id f859N6023054
        for <freebsd-java@freebsd.org>; Wed, 5 Sep 2001 18:23:06 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
To: freebsd-java@freebsd.org
Subject: shuJIT 0.7.4
From: shudo@computer.org
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: <20010905182426T.shudoh@aist.go.jp>
Date: Wed, 05 Sep 2001 18:24:26 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 10
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've released shuJIT 0.7.4.
  http://www.shudo.net/jit/

This version can be compiled and work with FreeBSD
native JDK 1.3.1. Fuyuhiko confirmed them. Of course, I
confirmed its working with JDK 1.1.8 V1999-11-9.

I hope you enjoy it!

  Kazuyuki Shudo

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


From owner-freebsd-java  Wed Sep  5  8:42:54 2001
Delivered-To: freebsd-java@freebsd.org
Received: from crewsoft.com (ns.aenet.net [157.22.214.1])
	by hub.freebsd.org (Postfix) with ESMTP id C9F1F37B40C
	for <freebsd-java@freebsd.org>; Wed,  5 Sep 2001 08:42:51 -0700 (PDT)
Received: from [63.197.8.222] (account cberger@wireless-networks.com HELO wireless-networks.com)
  by crewsoft.com (CommuniGate Pro SMTP 3.4.7)
  with ESMTP id 852126; Wed, 05 Sep 2001 08:46:39 -0700
Message-ID: <3B96484A.9370FDDF@wireless-networks.com>
Date: Wed, 05 Sep 2001 08:44:10 -0700
From: Cedric Berger <cedric@wireless-networks.com>
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mikhail Kruk <meshko@cs.brandeis.edu>
Cc: Bill Huey <billh@gnuppy.monkey.org>,
	Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>,
	freebsd-java@FreeBSD.ORG
Subject: Re: (j2sdk1.3.1) AWT improvement
References: <Pine.LNX.4.33.0109041954490.29859-100000@daedalus.cs.brandeis.edu>
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

Mikhail Kruk wrote:

> > On Tue, Sep 04, 2001 at 07:22:06PM -0400, Mikhail Kruk wrote:
> > > It definitely works better! Thanks!
> > > Is there a patch for the connect (56) problem?
> >
> > Look in this file:
> >
> > ../src/solaris/hpi/green_threads/src/iomgr.c
> >
> > Find the connect() definition and make that the block with ioctl()
> > is used over the second connect() attempt. That's all. ;-)
>
> Yeah, yeah, I couldn't figure out how to fix it from the discussion :(
> Thanks for explaining :)
> So now I've tried the application I wanted to try and bottom line is that
> Swing works flawlessly now, network works too (including SSL) and
> performance is almost acceptable (can't wait to test is with JIT ;)  on my
> PII-300.

Wow!
Time for a new patchset and a new port?
I would be glad to try that!

Cedric



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


From owner-freebsd-java  Thu Sep  6 11:20:36 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by hub.freebsd.org (Postfix) with ESMTP
	id 6A76B37B403; Thu,  6 Sep 2001 11:20:28 -0700 (PDT)
Received: from vega.vega.com (dialup12-0.iptelecom.net.ua [212.9.228.192])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id VAA93176;
	Thu, 6 Sep 2001 21:20:23 +0300 (EEST)
	(envelope-from max@vega.com)
Received: (from max@localhost)
	by vega.vega.com (8.11.4/8.11.3) id f86IJq316500;
	Thu, 6 Sep 2001 21:19:52 +0300 (EEST)
	(envelope-from sobomax@FreeBSD.org)
From: Maxim Sobolev <sobomax@FreeBSD.org>
Message-Id: <200109061819.f86IJq316500@vega.vega.com>
Subject: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
To: java@FreeBSD.org
Date: Thu, 6 Sep 2001 21:18:52 +0300 (EEST)
Cc: ports@FreeBSD.org
X-Mailer: ELM [version 2.5 PL5]
MIME-Version: 1.0
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

Forwarded message:
> 
> sobomax     2001/09/06 10:56:27 PDT
> 
>   Modified files:
>     java                 Makefile 
>   Added files:
>     java/forte           Makefile distinfo pkg-comment pkg-descr 
>                          pkg-plist 
>     java/forte/files     forte.sh instscript 
>   Log:
>   Add port of Forte[tm] for Java[tm] Community Edition 3.0, a Sun's powerful
>   and extensible IDE for Java. It's huge and slow but I'm sure FreeBSD Java
>   monkies would like it. ;)

It's also a good testbed for our native jdk-1.3.1 port. As far as I can
tell, it starts OK, but fails to compile any code with `can't load a
libjdwp.so' error message.

-Maxim

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


From owner-freebsd-java  Thu Sep  6 11:31:57 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by hub.freebsd.org (Postfix) with ESMTP
	id 69F5737B403; Thu,  6 Sep 2001 11:31:46 -0700 (PDT)
Received: from vega.vega.com (dialup12-0.iptelecom.net.ua [212.9.228.192])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id VAA95118;
	Thu, 6 Sep 2001 21:31:38 +0300 (EEST)
	(envelope-from max@vega.com)
Received: (from max@localhost)
	by vega.vega.com (8.11.4/8.11.3) id f86IV7Z16572;
	Thu, 6 Sep 2001 21:31:07 +0300 (EEST)
	(envelope-from sobomax@FreeBSD.org)
From: Maxim Sobolev <sobomax@FreeBSD.ORG>
Message-Id: <200109061831.f86IV7Z16572@vega.vega.com>
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
To: sobomax@FreeBSD.ORG (Maxim Sobolev)
Date: Thu, 6 Sep 2001 21:31:07 +0300 (EEST)
Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG
In-Reply-To: <no.id> from "Maxim Sobolev" at Sep 06, 2001 09:18:52 PM
X-Mailer: ELM [version 2.5 PL5]
MIME-Version: 1.0
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

> 
> Forwarded message:
> > 
> > sobomax     2001/09/06 10:56:27 PDT
> > 
> >   Modified files:
> >     java                 Makefile 
> >   Added files:
> >     java/forte           Makefile distinfo pkg-comment pkg-descr 
> >                          pkg-plist 
> >     java/forte/files     forte.sh instscript 
> >   Log:
> >   Add port of Forte[tm] for Java[tm] Community Edition 3.0, a Sun's powerful
> >   and extensible IDE for Java. It's huge and slow but I'm sure FreeBSD Java
> >   monkies would like it. ;)
> 
> It's also a good testbed for our native jdk-1.3.1 port. As far as I can
> tell, it starts OK, but fails to compile any code with `can't load a
> libjdwp.so' error message.

Forgot to add that it works fine with linux-jdk13 (apart from being slow
due to the fact that latest jdk refuses to load JIT, even Sun's native one).
BTW, does anybody have an idea on how to hack, er patch, jdk to make JIT
working?

-Maxim

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


From owner-freebsd-java  Thu Sep  6 11:57:30 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 46CAE37B405; Thu,  6 Sep 2001 11:57:21 -0700 (PDT)
Received: from [166.70.2.213] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 15f4Kf-0004Gx-00; Thu, 06 Sep 2001 12:57:14 -0600
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.3/8.11.3) id f86ItR008007;
	Fri, 7 Sep 2001 04:25:27 +0930 (CST)
	(envelope-from glewis)
Date: Fri, 7 Sep 2001 04:25:17 +0930
From: Greg Lewis <glewis@eyesbeyond.com>
To: Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010907042517.A7970@misty.eyesbeyond.com>
References: <200109061819.f86IJq316500@vega.vega.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200109061819.f86IJq316500@vega.vega.com>; from sobomax@FreeBSD.ORG on Thu, Sep 06, 2001 at 09:18:52PM +0300
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 Thu, Sep 06, 2001 at 09:18:52PM +0300, Maxim Sobolev wrote:
> Forwarded message:
> > 
> > sobomax     2001/09/06 10:56:27 PDT
> > 
> >   Modified files:
> >     java                 Makefile 
> >   Added files:
> >     java/forte           Makefile distinfo pkg-comment pkg-descr 
> >                          pkg-plist 
> >     java/forte/files     forte.sh instscript 
> >   Log:
> >   Add port of Forte[tm] for Java[tm] Community Edition 3.0, a Sun's powerful
> >   and extensible IDE for Java. It's huge and slow but I'm sure FreeBSD Java
> >   monkies would like it. ;)
> 
> It's also a good testbed for our native jdk-1.3.1 port. As far as I can
> tell, it starts OK, but fails to compile any code with `can't load a
> libjdwp.so' error message.

Hmmm, libjdwp.so is certainly built (look in lib/i386).  I think we may
need to check the default load path to make sure its looking there.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
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  Thu Sep  6 11:59:36 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 0FCF137B406; Thu,  6 Sep 2001 11:59:29 -0700 (PDT)
Received: from [166.70.2.213] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 15f4N0-0004dn-00; Thu, 06 Sep 2001 12:59:26 -0600
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.3/8.11.3) id f86Iw5x08018;
	Fri, 7 Sep 2001 04:28:05 +0930 (CST)
	(envelope-from glewis)
Date: Fri, 7 Sep 2001 04:27:54 +0930
From: Greg Lewis <glewis@eyesbeyond.com>
To: Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010907042754.B7970@misty.eyesbeyond.com>
References: <no.id> <200109061831.f86IV7Z16572@vega.vega.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200109061831.f86IV7Z16572@vega.vega.com>; from sobomax@FreeBSD.ORG on Thu, Sep 06, 2001 at 09:31:07PM +0300
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 Thu, Sep 06, 2001 at 09:31:07PM +0300, Maxim Sobolev wrote:
> > Forwarded message:
> > > 
> > > sobomax     2001/09/06 10:56:27 PDT
> > > 
> > >   Modified files:
> > >     java                 Makefile 
> > >   Added files:
> > >     java/forte           Makefile distinfo pkg-comment pkg-descr 
> > >                          pkg-plist 
> > >     java/forte/files     forte.sh instscript 
> > >   Log:
> > >   Add port of Forte[tm] for Java[tm] Community Edition 3.0, a Sun's powerful
> > >   and extensible IDE for Java. It's huge and slow but I'm sure FreeBSD Java
> > >   monkies would like it. ;)
> > 
> > It's also a good testbed for our native jdk-1.3.1 port. As far as I can
> > tell, it starts OK, but fails to compile any code with `can't load a
> > libjdwp.so' error message.
> 
> Forgot to add that it works fine with linux-jdk13 (apart from being slow
> due to the fact that latest jdk refuses to load JIT, even Sun's native one).
> BTW, does anybody have an idea on how to hack, er patch, jdk to make JIT
> working?

I believe that the Sun distributed JDKs have JIT loading disabled.  The
Blackdown JDK has "fixed" this and Maruyama-san has just committed fixes
to enable JIT loading in the native 1.3.1 port.  These will be in the next
patchset.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
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  Fri Sep  7  0:22:38 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0989B37B406; Fri,  7 Sep 2001 00:22:30 -0700 (PDT)
Received: from vega.vega.com (dialup14-27.iptelecom.net.ua [212.9.229.91])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id KAA19747;
	Fri, 7 Sep 2001 10:22:24 +0300 (EEST)
	(envelope-from max@vega.com)
Received: (from max@localhost)
	by vega.vega.com (8.11.4/8.11.3) id f877LqZ19014;
	Fri, 7 Sep 2001 10:21:52 +0300 (EEST)
	(envelope-from sobomax@FreeBSD.org)
From: Maxim Sobolev <sobomax@FreeBSD.org>
Message-Id: <200109070721.f877LqZ19014@vega.vega.com>
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
To: glewis@eyesbeyond.com (Greg Lewis)
Date: Fri, 7 Sep 2001 10:21:12 +0300 (EEST)
Cc: java@FreeBSD.org, ports@FreeBSD.org
In-Reply-To: <20010907084911.A65793@misty.eyesbeyond.com> from "Greg Lewis" at Sep 07, 2001 08:49:11 AM
X-Mailer: ELM [version 2.5 PL5]
MIME-Version: 1.0
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

> Hi Maxim,
> 
> Seems I was too hasty.  I think the updated patch (attached) handles
> things better.  Please let me know.

Still no go. Apparently I misguided you in my last e-mail. The error
message in question ls:

/usr/local/jdk1.3.1/jre/../bin/java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=big_brother:1028,suspend=y -Djava.compiler=NONE "-Xbootclasspath:/usr/local/jdk1.3.1/jre/../lib/tools.jar:/usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/local/jdk1.3.1/jre/lib/i18n.jar:/usr/local/jdk1.3.1/jre/lib/sunrsasign.jar:/usr/local/jdk1.3.1/jre/classes:" -classpath "/root/ffjuser30/system:/usr/local/share/java/forte4j/system:/usr/local/share/java/forte4j/beans/TimerBean.jar:/root/ffjuser30/sampledir:/tmp:/usr/local/share/java/forte4j/modules/ext/AbsoluteLayout.jar:/usr/local/share/java/forte4j/lib/ext/servlet.jar" Test
Can't load "libjdwp.so", because /usr/local/jdk1.3.1/jre/../jre/../lib/i386/libjdwp.so: Undefined symbol "fork1"
Could not create the Java virtual machine.

I donno where that `fork1' came from - the system in question is fairly
recent 5-CURRENT box, last updated on 17 August.

There are also another serious problem with it - it doesn't accept uppercase
letters, i.e. when I'm trying to type uppercase letter it gets lowercase
instead, which makes it pretty useless, as Java is case-sensitive. At the
same time Linux JDK doesn't have such problem, so it is unlikely that this
is a local misconfiguration.

Please let me know if you will have any ideas on how it could be fixed.

Thank you!

-Maxim

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


From owner-freebsd-java  Fri Sep  7  0:40:26 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP
	id D41F937B403; Fri,  7 Sep 2001 00:40:22 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15fGFS-0000mL-00; Fri, 07 Sep 2001 00:40:22 -0700
Date: Fri, 7 Sep 2001 00:40:21 -0700
To: Maxim Sobolev <sobomax@FreeBSD.org>
Cc: Greg Lewis <glewis@eyesbeyond.com>, java@FreeBSD.org,
	ports@FreeBSD.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010907004021.A2985@gnuppy>
References: <20010907084911.A65793@misty.eyesbeyond.com> <200109070721.f877LqZ19014@vega.vega.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200109070721.f877LqZ19014@vega.vega.com>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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 Fri, Sep 07, 2001 at 10:21:12AM +0300, Maxim Sobolev wrote:
> I donno where that `fork1' came from - the system in question is fairly
> recent 5-CURRENT box, last updated on 17 August.

Nuke that out of the source tree. Replace that with a normal fork(), vfork()
should work out just as well since Solaris's fork1() only copies the current
executing thread and expect you to do a execv() of some sort.

Let me do more investigation, this bring back some memories..

> There are also another serious problem with it - it doesn't accept uppercase
> letters, i.e. when I'm trying to type uppercase letter it gets lowercase
> instead, which makes it pretty useless, as Java is case-sensitive. At the
> same time Linux JDK doesn't have such problem, so it is unlikely that this
> is a local misconfiguration.

Don't know about that. 

bill


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


From owner-freebsd-java  Fri Sep  7  0:50:38 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0B5BC37B401; Fri,  7 Sep 2001 00:50:35 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15fGPK-0000nZ-00; Fri, 07 Sep 2001 00:50:34 -0700
Date: Fri, 7 Sep 2001 00:50:34 -0700
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: Maxim Sobolev <sobomax@FreeBSD.org>,
	Greg Lewis <glewis@eyesbeyond.com>, java@FreeBSD.org,
	ports@FreeBSD.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010907005034.A3063@gnuppy>
References: <20010907084911.A65793@misty.eyesbeyond.com> <200109070721.f877LqZ19014@vega.vega.com> <20010907004021.A2985@gnuppy>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010907004021.A2985@gnuppy>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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 Fri, Sep 07, 2001 at 12:40:21AM -0700, Bill Huey wrote:
> Nuke that out of the source tree. Replace that with a normal fork(), vfork()
> should work out just as well since Solaris's fork1() only copies the current
> executing thread and expect you to do a execv() of some sort.
> 
> Let me do more investigation, this bring back some memories..

Replying to my own post. ;-)

It's looking it build the wrong file. Let me check it out more...

bill


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


From owner-freebsd-java  Fri Sep  7  3:31:10 2001
Delivered-To: freebsd-java@freebsd.org
Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61])
	by hub.freebsd.org (Postfix) with ESMTP
	id BF3E937B403; Fri,  7 Sep 2001 03:31:05 -0700 (PDT)
Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian))
	id 15fIuf-0003Dc-00; Fri, 07 Sep 2001 03:31:05 -0700
Date: Fri, 7 Sep 2001 03:31:05 -0700
To: Maxim Sobolev <sobomax@FreeBSD.org>
Cc: Greg Lewis <glewis@eyesbeyond.com>, java@FreeBSD.org,
	ports@FreeBSD.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010907033105.A12355@gnuppy>
References: <20010907084911.A65793@misty.eyesbeyond.com> <200109070721.f877LqZ19014@vega.vega.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200109070721.f877LqZ19014@vega.vega.com>
User-Agent: Mutt/1.3.20i
From: Bill Huey <billh@gnuppy.monkey.org>
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 Fri, Sep 07, 2001 at 10:21:12AM +0300, Maxim Sobolev wrote:
> I donno where that `fork1' came from - the system in question is fairly
> recent 5-CURRENT box, last updated on 17 August.

Try changing the fork1() to vfork() and report back in:

../ext/jpda/src/solaris/back/exec_md.c

There's a number of other places that have fork1() that were missed,
but I want to see if this changes your results.

;-)

bill


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


From owner-freebsd-java  Fri Sep  7  9: 3:53 2001
Delivered-To: freebsd-java@freebsd.org
Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4F34637B401; Fri,  7 Sep 2001 09:03:48 -0700 (PDT)
Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id BAA12197; Sat, 8 Sep 2001 01:03:41 +0900 (JST)
Date: Sat, 08 Sep 2001 01:06:19 +0900
Message-ID: <55itevx9xg.wl@tripper.private>
From: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To: Maxim Sobolev <sobomax@FreeBSD.org>
Cc: glewis@eyesbeyond.com (Greg Lewis), java@FreeBSD.org,
	ports@FreeBSD.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
In-Reply-To: <200109070721.f877LqZ19014@vega.vega.com>
References: <20010907084911.A65793@misty.eyesbeyond.com>
	<200109070721.f877LqZ19014@vega.vega.com>
User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
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

Hi,

At Fri, 7 Sep 2001 10:21:12 +0300 (EEST),
Maxim Sobolev wrote:
...snip
> 
> There are also another serious problem with it - it doesn't accept uppercase
> letters, i.e. when I'm trying to type uppercase letter it gets lowercase
> instead, which makes it pretty useless, as Java is case-sensitive. At the
> same time Linux JDK doesn't have such problem, so it is unlikely that this
> is a local misconfiguration.
> 
> Please let me know if you will have any ideas on how it could be fixed.
The native J2SDK 1.3.1 on the CVS already fixed the problem -
uppercase letters cannot be used.

The next patchset will help you.

--
Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
Matsuoka laboratory,
Department of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.

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


From owner-freebsd-java  Fri Sep  7 12:19:14 2001
Delivered-To: freebsd-java@freebsd.org
Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5])
	by hub.freebsd.org (Postfix) with ESMTP
	id DB97337B405; Fri,  7 Sep 2001 12:19:05 -0700 (PDT)
Received: from notebook.vega.com (dialup9-49.iptelecom.net.ua [212.9.228.49])
	by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id WAA53907;
	Fri, 7 Sep 2001 22:18:06 +0300 (EEST)
	(envelope-from sobomax@FreeBSD.org)
Date: Fri, 7 Sep 2001 22:18:06 +0300 (EEST)
Message-Id: <200109071918.WAA53907@ipcard.iptcom.net>
To: fuyuhik8@is.titech.ac.jp
Cc: glewis@eyesbeyond.com, java@FreeBSD.org, ports@FreeBSD.org
From: Maxim Sobolev <sobomax@FreeBSD.org>
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
X-Mailer: Pygmy (v0.5.11)
In-Reply-To: <55itevx9xg.wl@tripper.private>
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 Sat, 08 Sep 2001 01:06:19 +0900, Fuyuhiko Maruyama wrote:
> Hi,
> 
> At Fri, 7 Sep 2001 10:21:12 +0300 (EEST),
> Maxim Sobolev wrote:
> ...snip
> > 
> > There are also another serious problem with it - it doesn't accept uppercase
> > letters, i.e. when I'm trying to type uppercase letter it gets lowercase
> > instead, which makes it pretty useless, as Java is case-sensitive. At the
> > same time Linux JDK doesn't have such problem, so it is unlikely that this
> > is a local misconfiguration.
> > 
> > Please let me know if you will have any ideas on how it could be fixed.
> The native J2SDK 1.3.1 on the CVS already fixed the problem -
> uppercase letters cannot be used.
> 
> The next patchset will help you.

Fine! Do you have any estimates as to when it will be available? I really
think that it should be done RSN, because in its current state JDK is hardly
an usable one. So far I encountered three serious problems with it:
1. Unability to use JIT;
2. Undefined references to fork1() in some of the shared files;
3. Problem with uppercase letters.

I was also observing some rather weird problems with networking in Jedit,
but have not performed any investigation to make at least minimal problem
report.

Nevertheless, I would like to thank you and all members of Java porting team
for your truly great work, please keep doing!

-Maxim

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


From owner-freebsd-java  Fri Sep  7 13:50:15 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 0F63037B405; Fri,  7 Sep 2001 13:50:07 -0700 (PDT)
Received: from [166.70.8.54] (helo=misty.eyesbeyond.com)
	by mgr1.xmission.com with esmtp (Exim 3.22 #1)
	id 15fSZh-0003ht-00; Fri, 07 Sep 2001 14:50:05 -0600
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.3/8.11.3) id f87Ko0B57466;
	Sat, 8 Sep 2001 06:20:00 +0930 (CST)
	(envelope-from glewis)
Date: Sat, 8 Sep 2001 06:20:00 +0930
From: Greg Lewis <glewis@eyesbeyond.com>
To: Maxim Sobolev <sobomax@FreeBSD.org>
Cc: fuyuhik8@is.titech.ac.jp, glewis@eyesbeyond.com,
	java@FreeBSD.org, ports@FreeBSD.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010908062000.A57439@misty.eyesbeyond.com>
References: <55itevx9xg.wl@tripper.private> <200109071918.WAA53907@ipcard.iptcom.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200109071918.WAA53907@ipcard.iptcom.net>; from sobomax@FreeBSD.org on Fri, Sep 07, 2001 at 10:18:06PM +0300
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 Fri, Sep 07, 2001 at 10:18:06PM +0300, Maxim Sobolev wrote:
> Fine! Do you have any estimates as to when it will be available? I really
> think that it should be done RSN, because in its current state JDK is hardly
> an usable one. So far I encountered three serious problems with it:
> 1. Unability to use JIT;
> 2. Undefined references to fork1() in some of the shared files;
> 3. Problem with uppercase letters.
> 
> I was also observing some rather weird problems with networking in Jedit,
> but have not performed any investigation to make at least minimal problem
> report.

Probably the connect() problem which is also fixed in the repository.

New patchset will be out this weekend.  I hope to send you some patches
for the port at the same time.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
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  Fri Sep  7 13:58:18 2001
Delivered-To: freebsd-java@freebsd.org
Received: from c528925-a.kreska.org (c528925-a.plano1.tx.home.com [24.21.161.123])
	by hub.freebsd.org (Postfix) with ESMTP id 106FA37B406
	for <freebsd-java@freebsd.org>; Fri,  7 Sep 2001 13:58:15 -0700 (PDT)
Received: from localhost (jkreska@localhost)
	by c528925-a.kreska.org (8.11.1/8.11.1) with ESMTP id f87KwEq32038
	for <freebsd-java@freebsd.org>; Fri, 7 Sep 2001 15:58:14 -0500 (CDT)
	(envelope-from jkreska@kreska.org)
Date: Fri, 7 Sep 2001 15:58:13 -0500 (CDT)
From: Jeff Kreska <jkreska@kreska.org>
X-Sender: jkreska@c528925-a.plano1.tx.home.com
To: freebsd-java@freebsd.org
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo
 (fwd)
In-Reply-To: <20010908062000.A57439@misty.eyesbeyond.com>
Message-ID: <Pine.BSF.4.21.0109071554020.32010-100000@c528925-a.plano1.tx.home.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


I downloaded the 3rd patchset, and couldn't get it to apply cleanly.  I
applied all of the reject's by hand.  The funny thing is, when I did the
2nd patchset it applied cleanly.

Anyway now I get a jvm crash while trying to build it.  I tryed my
internal build first, and then the linux-jdk with no luck.

Is there anyway for me to tell if I have the correct src tarball?  I saw
some talk about updating the patches for the latest version of the src,
and I wasn't to sure which one I have.


---
Later,
Jeff

On Sat, 8 Sep 2001, Greg Lewis wrote:

> On Fri, Sep 07, 2001 at 10:18:06PM +0300, Maxim Sobolev wrote:
> > Fine! Do you have any estimates as to when it will be available? I really
> > think that it should be done RSN, because in its current state JDK is hardly
> > an usable one. So far I encountered three serious problems with it:
> > 1. Unability to use JIT;
> > 2. Undefined references to fork1() in some of the shared files;
> > 3. Problem with uppercase letters.
> > 
> > I was also observing some rather weird problems with networking in Jedit,
> > but have not performed any investigation to make at least minimal problem
> > report.
> 
> Probably the connect() problem which is also fixed in the repository.
> 
> New patchset will be out this weekend.  I hope to send you some patches
> for the port at the same time.
> 
> -- 
> Greg Lewis                            Email : glewis@eyesbeyond.com
> Eyes Beyond                           Phone : (801) 765 1887
> 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
> 


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


From owner-freebsd-java  Fri Sep  7 22:21:26 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 4625737B401
	for <freebsd-java@freebsd.org>; Fri,  7 Sep 2001 22:21:24 -0700 (PDT)
Received: from [166.70.8.209] (helo=misty.eyesbeyond.com)
	by mgr2.xmission.com with esmtp (Exim 3.22 #1)
	id 15faYV-0007Ng-00; Fri, 07 Sep 2001 23:21:23 -0600
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.11.3/8.11.3) id f885LKP24307;
	Sat, 8 Sep 2001 14:51:20 +0930 (CST)
	(envelope-from glewis)
Date: Sat, 8 Sep 2001 14:51:20 +0930
From: Greg Lewis <glewis@eyesbeyond.com>
To: Jeff Kreska <jkreska@kreska.org>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)
Message-ID: <20010908145120.A24290@misty.eyesbeyond.com>
References: <20010908062000.A57439@misty.eyesbeyond.com> <Pine.BSF.4.21.0109071554020.32010-100000@c528925-a.plano1.tx.home.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.BSF.4.21.0109071554020.32010-100000@c528925-a.plano1.tx.home.com>; from jkreska@kreska.org on Fri, Sep 07, 2001 at 03:58:13PM -0500
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 Fri, Sep 07, 2001 at 03:58:13PM -0500, Jeff Kreska wrote:
> I downloaded the 3rd patchset, and couldn't get it to apply cleanly.  I
> applied all of the reject's by hand.  The funny thing is, when I did the
> 2nd patchset it applied cleanly.
> 
> Anyway now I get a jvm crash while trying to build it.  I tryed my
> internal build first, and then the linux-jdk with no luck.
> 
> Is there anyway for me to tell if I have the correct src tarball?  I saw
> some talk about updating the patches for the latest version of the src,
> and I wasn't to sure which one I have.

Given that patchset 2 applies cleanly and patchset 3 doesn't, you have
the older version of the source base (thats when the cutover happened).
Please download the newer version from Sun.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
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  Sat Sep  8  9:17:27 2001
Delivered-To: freebsd-java@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 820)
	id 6017337B408; Sat,  8 Sep 2001 09:17:20 -0700 (PDT)
Date: Sat, 8 Sep 2001 09:17:20 -0700
From: Maxim Sobolev <sobomax@hub.freebsd.org>
To: java@FreeBSD.org
Cc: www@FreeBSD.org
Subject: WWW page update [patch for review]
Message-ID: <20010908091720.A83612@hub.freebsd.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1"
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


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi folks,

Please review attached patch, which updates WWW page of the FreeBSD Java
Project.

Thanks!

-Maxim

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="javawww.diff"

Index: index.sgml
===================================================================
RCS file: /home/ncvs/www/en/java/index.sgml,v
retrieving revision 1.7
diff -r1.7 index.sgml
84,85c84,85
< <P><B>Newsflash!</B>We now have a JDK2 (aka 1.2) beta quality port.  It can be
< built from the ports directory ports/java/jdk12-beta.  See <a href="dists/12.html">JDK 1.2.x page</a> for details.
---
> <P><B>Newsflash!</B>We now have a JDK 1.3.1 alpha quality port.  It can be
> built from the ports directory ports/java/jdk13.  See <a href="dists/13.html">JDK 1.3.x page</a> for details.
Index: newsflash.sgml
===================================================================
RCS file: /home/ncvs/www/en/java/newsflash.sgml,v
retrieving revision 1.22
diff -r1.22 newsflash.sgml
12a13,34
> <H2>September, 2001</H2>
> <UL>
> <li><b>September 6, 2001:</b>
> <br><a href="mailto:sobomax@FreeBSD.org">Maxim Sobolev</a> has created a
> port of the Sun's <a href="http://www.sun.com/forte/ffj/index.html">Forte[tm]
> for Java[tm]</a>, release 3.0 Community Edition integrated development
> environment (IDE).  It can now be built from the ports directory
> ports/java/forte.
> <p>The port can be used either with native JDK 1.3.1, or with Linux JDK 1.3.1.
> </UL>
> 
> <H2>August, 2001</H2>
> <UL>
> <li><b>August 27, 2001:</b>
> <br><a href="mailto:glewis@eyesbeyond.com">Greg Lewis</a> has released a
> long-awaited port of the JDK 1.3.1 software.  It can now be built from the
> ports directory ports/java/jdk13.  See <a href="dists/13.html">JDK 1.3.x</a>
> for more details.
> <p>It should be noted that this is very much a developer-only release and it
> is not recommended for use in production environment.
> </UL>
> 
16c38
< <br><a href="mailto:sobomax@freebsd.org">Maxim Sobolev</a> has produced a 
---
> <br><a href="mailto:sobomax@FreeBSD.org">Maxim Sobolev</a> has produced a 
Index: dists/13.sgml
===================================================================
RCS file: /home/ncvs/www/en/java/dists/13.sgml,v
retrieving revision 1.7
diff -r1.7 13.sgml
12a13,21
> 
> <p>
> <b>August 27, 2001:</b><a href="mailto:glewis@eyesbeyond.com">Greg Lewis</a>
> has released a long-awaited port of the JDK 1.3.1 software.  It can now be
> built from the ports directory ports/java/jdk13.  It should be noted that all
> notes below apply and it is still very much a <strong>developer-only</strong>
> release and it is not recommended for use in production environment.
> </p>
> 

--n8g4imXOkfNTN/H1--

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