From owner-freebsd-java Sat Mar 11 9:58:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id 8036C37BC02 for ; Sat, 11 Mar 2000 09:58:26 -0800 (PST) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.9.3+Sun/8.9.3) id MAA29790 for freebsd-java@freebsd.org; Sat, 11 Mar 2000 12:57:52 -0500 (EST) Date: Sat, 11 Mar 2000 12:57:52 -0500 (EST) Message-Id: <200003111757.MAA29790@lab12.ie.pitt.edu> From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: freebsd-java@freebsd.org Subject: Re: Q: trouble with linux-jdk1.2pre-v2 on 3.3-R reading System.in Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org !> After seeing comments suggesting the usability of the blackdown.org !> jdk1.2pre-v2 port on FreeBSD 3.3-RELEASE systems, !> we pulled it down & gave it a try. !> !> We're finding, however, that the readLine() method of BufferedReader !> doesn't fetch anything from stdin (i.e., the keyboard) and "hangs", !> while the native FreeBSD JDK1.1.8 port works as advertised: !> !> Can anyone comment on this behavior ? ! !This is a bug in the linux emulation. I posted a patch for 3.4-STABLE !several weeks ago which fixes this. I'm not sure how it would work on !3.3. ! !---- !John Rochester Java Developer, e-Net Software, Bath, UK !john.rochester@enetgroup.co.uk jr@cs.mun.ca Thanks for this information. I applied the patch to my 3.3-R /usr/src/sys, compiled the new linux.ko module, and it installed without complaint. And the good news is, the Linux JDK1.2pre-v2 here reads input now. Thanks again ! -- Gary Rafe gerst4@pitt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message