From owner-freebsd-java@FreeBSD.ORG Sun Aug 1 22:23:03 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45BF4106567C; Sun, 1 Aug 2010 22:23:03 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C68A8FC0A; Sun, 1 Aug 2010 22:23:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o71MN2uJ062726; Sun, 1 Aug 2010 22:23:03 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o71MN2ls062722; Sun, 1 Aug 2010 22:23:02 GMT (envelope-from glewis) Date: Sun, 1 Aug 2010 22:23:02 GMT Message-Id: <201008012223.o71MN2ls062722@freefall.freebsd.org> To: naylor.b.david@gmail.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org From: glewis@FreeBSD.org Cc: Subject: Re: ports/148753: [patch] java/openjdk6 does not respect MAKE_JOBS_(SAFE|NUMBER) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 22:23:03 -0000 Synopsis: [patch] java/openjdk6 does not respect MAKE_JOBS_(SAFE|NUMBER) State-Changed-From-To: feedback->closed State-Changed-By: glewis State-Changed-When: Sun Aug 1 22:23:02 UTC 2010 State-Changed-Why: Committed, with minor changes. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=148753 From owner-freebsd-java@FreeBSD.ORG Sun Aug 1 22:30:10 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A4591065673 for ; Sun, 1 Aug 2010 22:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF3F8FC14 for ; Sun, 1 Aug 2010 22:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o71MU9af063009 for ; Sun, 1 Aug 2010 22:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o71MU9TU063006; Sun, 1 Aug 2010 22:30:09 GMT (envelope-from gnats) Date: Sun, 1 Aug 2010 22:30:09 GMT Message-Id: <201008012230.o71MU9TU063006@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/148753: commit references a PR X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 22:30:10 -0000 The following reply was made to PR ports/148753; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/148753: commit references a PR Date: Sun, 1 Aug 2010 22:22:59 +0000 (UTC) glewis 2010-08-01 22:22:44 UTC FreeBSD ports repository Modified files: java/openjdk6 Makefile java/openjdk7 Makefile Log: . Mark MAKE_JOBS_SAFE. . Use MAKE_JOBS_NUMBER as HOTSPOT_BUILD_JOBS. PR: 148753 Submitted by: David Naylor Revision Changes Path 1.26 +5 -3 ports/java/openjdk6/Makefile 1.13 +5 -4 ports/java/openjdk7/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Sun Aug 1 22:47:11 2010 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9328B1065674 for ; Sun, 1 Aug 2010 22:47:11 +0000 (UTC) (envelope-from QAT@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 017388FC20 for ; Sun, 1 Aug 2010 22:47:10 +0000 (UTC) Received: from jester1b.ixsystems.com (unknown [206.40.55.137]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id A072522C53EC; Mon, 2 Aug 2010 01:28:51 +0300 (EEST) Received: by jester1b.ixsystems.com (Postfix, from userid 0) id 81E855A9003; Sun, 1 Aug 2010 15:28:50 -0700 (PDT) From: QAT@FreeBSD.org To: glewis@FreeBSD.org In-Reply-To: <201008012222.o71MMirC065381@repoman.freebsd.org> References: <201008012222.o71MMirC065381@repoman.freebsd.org> X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-3.3_3; dsversion: 3.2.1 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_8 X-QAT-Jail_Last_Built: 2010-03-11 13:38:43 X-QAT-Port: java/openjdk6 X-QAT-Log: http://QAT.TecNik93.com/logs/8-STABLE-NPD/openjdk6-b20.log X-QAT-Build_Reason: Commit X-QAT-Fail_Reason: NFS Message-Id: <20100801222850.81E855A9003@jester1b.ixsystems.com> Date: Sun, 1 Aug 2010 15:28:50 -0700 (PDT) Cc: cvs-ports@FreeBSD.org, java@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/java/openjdk6 Makefile ports/java/openjdk7 Makefile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 22:47:11 -0000 The Restless Daemon identified a NFS error while trying to build: openjdk6-b20 maintained by java@FreeBSD.org Makefile ident: $FreeBSD: ports/java/openjdk6/Makefile,v 1.26 2010/08/01 22:22:44 glewis Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/openjdk6-b20.log : Timing: 00016 seconds or 16s for make-com-sun-corba-se-impl <<>>Recursively making rmi build @ Sun Aug 1 22:28:48 UTC 2010 ... gmake[7]: Entering directory `/work/a/ports/java/openjdk6/work/corba/make/com/sun/corba/se/rmi' Begin Processing SUBDIRS: rmic >>>Recursively making rmic build @ Sun Aug 1 22:28:48 UTC 2010 ... gmake[8]: Entering directory `/work/a/ports/java/openjdk6/work/corba/make/com/sun/corba/se/rmi/rmic' gmake[8]: Leaving directory `/work/a/ports/java/openjdk6/work/corba/make/com/sun/corba/se/rmi/rmic' Timing: 00000 seconds or 0s for make-com-sun-corba-se-rmi-rmic << Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9754106564A for ; Mon, 2 Aug 2010 08:16:15 +0000 (UTC) (envelope-from ahuryn@ist.net.pl) Received: from ist.net.pl (ist-1.dint.wroc.pl [217.30.156.130]) by mx1.freebsd.org (Postfix) with ESMTP id 1C2318FC1E for ; Mon, 2 Aug 2010 08:16:14 +0000 (UTC) Received: by ist.net.pl (ist.net.pl, from userid 426) id 057986802B; Mon, 2 Aug 2010 09:55:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on ist.net.pl X-Spam-Level: X-Spam-Status: No, score=-97.5 required=7.0 tests=BAYES_00,IMPRONONCABLE_2, J_CHICKENPOX_111,J_CHICKENPOX_16,J_CHICKENPOX_22,J_CHICKENPOX_35, J_CHICKENPOX_53,J_CHICKENPOX_57,SPF_HELO_PASS,SPF_PASS, USER_IN_WHITELIST autolearn=no version=3.1.3 Received: from ist.net.pl (localhost.ist.net.pl [127.0.0.1]) by ist.net.pl (ist.net.pl) with ESMTP id 46EEC67FEF for ; Mon, 2 Aug 2010 09:54:52 +0200 (CEST) From: "Huryn Adrian" To: freebsd-java@FreeBSD.org Date: Mon, 2 Aug 2010 09:54:52 +0200 Message-Id: <20100802075213.M94378@ist.net.pl> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 192.168.0.176 (ahuryn) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Cc: Subject: Error with application on Tomcat. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 08:16:15 -0000 Pleas for help. Handle 0x0100, DMI type 1, 25 bytes System Information Manufacturer: HP Product Name: ProLiant DL380 G3 Version: Not Specified Serial Number: D335LJC1H684 UUID: 44333335-4C4A-4331-4836-383420202020 /etc/profile Tomcat opts : JAVA_HOME="/usr/local/diablo-jdk1.6.0/"; export JAVA_HOME CATALINA_HOME="/usr/local/tomcat5.5/"; export CATALINA_HOME CATALINA_OPTS="-Xms1024m -Xmx2560m"; export CATALINA_OPTS JAVAC="/usr/local/diablo-jdk1.6.0/bin/"; export JAVAC CATALINA_BASE="/usr/local/tomcat5.5/"; export CATALINA_BASE CATALINA_TMPDIR="/usr/local/tomcat5.5/temp"; export CATALINA_TMPDIR TOMCAT_OPTS="-Djavax.servlet.request.encoding=ISO8859_2"; export TOMCAT_OPTS /boot/loader.conf : kern.ipc.semmni=512 kern.ipc.semmns=1024 kern.ipc.semmnu=512 options ADD to Generic(i386) kernel : options MSGBUF_SIZE=40960 options MSGMNB=8192 options MSGMNI=40 options MSGSEG=512 options MSGSSZ=64 options MSGTQL=2048 options SHMSEG=16 options SHMMNI=32 options SHMMAX=2097152 options SHMALL=4096 On ML110/350 (G5) all works fine with that same configuration. # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x28108f2c, pid=67549, tid=0x28201150 # # Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode bsd-x86) # Problematic frame: # C [libc.so.7+0x63f2c] free+0x4c # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x28208000): Thread [stack: 0xbf9af000,0xbf9ff000] [id=673190224] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xbf900000 Registers: EAX=0xbf9fee00, EBX=0x281937f8, ECX=0x0000000c, EDX=0xbf900000 ESP=0xbf9fec90, EBP=0xbf9fecc8, ESI=0xbf9fee00, EDI=0x28208000 EIP=0x28108f2c, EFLAGS=0x00010206 Top of Stack: (sp=0xbf9fec90) 0xbf9fec90: 282123c0 28208000 bf9fecb8 285a249c 0xbf9feca0: bf900000 0805ae1c 0805afc4 2833319a 0xbf9fecb0: 286cf294 286cf294 28108eeb 28bd6b34 0xbf9fecc0: bf9fee00 28208000 bf9fecd8 28bb0b91 0xbf9fecd0: bf9fee00 286cf294 bf9fed08 2862ea02 0xbf9fece0: bf9fee00 286cf294 bf9fed08 28332b8c 0xbf9fecf0: 282360f0 bf9fecfc fffffffc 286cf294 0xbf9fed00: 00000000 28208000 bf9fed38 2862f175 Instructions: (pc=0x28108f2c) 0x28108f1c: 55 d8 0f 84 69 02 00 00 89 ce 8b 8b f4 5f 00 00 0x28108f2c: 8b 02 29 d6 d3 ee 89 45 dc 8d 04 76 8d 3c 82 8b Stack: [0xbf9af000,0xbf9ff000], sp=0xbf9fec90, free space=319k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.7+0x63f2c] free+0x4c C [libstdc++.so.6+0xc7b91] _ZdlPv+0x21 V [libjvm.so+0x32ea02] V [libjvm.so+0x32f175] V [libjvm.so+0x333a2b] V [libjvm.so+0x1b3433] C [java+0xa795] JavaMain+0x1d55 C [java+0x8ae1] JavaMain+0xa1 C [libthr.so.3+0x673f] pthread_getprio+0x1bf --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x28208000 (exited) Thread [stack: 0xbf9af000,0xbf9ff000] [id=673190224] VM state:not at safepoint (not fully initialized) VM Mutex/Monitor currently owned by a thread: None Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.6.0/bin/java 0x28090000 /lib/libthr.so.3 0x280a5000 /lib/libc.so.7 0x28300000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so 0x28ae9000 /usr/lib/libstdc++.so.6 0x281ab000 /lib/libm.so.5 0x281c0000 /lib/libgcc_s.so.1 0x281cc000 /usr/local/diablo- jdk1.6.0/jre/lib/i386/native_threads/libhpi.so 0x281e7000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so 0x28bde000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so 0x281f4000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so 0x28c05000 /lib/libz.so.4 0x28059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Djava.util.logging.config.file=/usr/local/tomcat5.5//conf/logging.properties - Xms1024m -Xmx2560m -Djava.endorsed.dirs=/usr/local/tomcat5.5//common/endorsed -Dcatalina.base=/usr/local/tomcat5.5/ -Dcatalina.home=/usr/local/tomcat5.5/ - Djava.io.tmpdir=/usr/local/tomcat5.5/temp java_command: org.apache.catalina.startup.Bootstrap start Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.6.0/ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/ usr/local/tomcat5.5/bin LD_LIBRARY_PATH=/usr/local/diablo- jdk1.6.0/jre/lib/i386/client:/usr/local/diablo- jdk1.6.0/jre/lib/i386:/usr/local/diablo-jdk1.6.0/jre/../lib/i386 SHELL=/usr/local/bin/bash Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0xfffefeff, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x2a7660], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGQUIT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Thu Jul 29 08:12:59 CEST 2010 cr4sh@ASMA.ist.net.pl:/usr/src/sys/i386/compile/ASMA i386 rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 1 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 3829612k(957403k free) vm_info: Diablo Java HotSpot(TM) Client VM (10.0-b23) for bsd-x86 JRE (1.6.0_07-b02), built on May 12 2008 23:14:46 by "truk" with gcc 4.2.1 20070719 [FreeBSD] time: Mon Aug 2 07:47:39 2010 elapsed time: 0 seconds Best regards, Adrian. From owner-freebsd-java@FreeBSD.ORG Mon Aug 2 09:27:48 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0116C1065688 for ; Mon, 2 Aug 2010 09:27:48 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CBBB58FC22 for ; Mon, 2 Aug 2010 09:27:47 +0000 (UTC) Received: from apple.my.domain (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o729Rkii036372 for ; Mon, 2 Aug 2010 09:27:47 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4C568F93.1070608@freebsd.org> Date: Mon, 02 Aug 2010 17:27:47 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: java nio channel selectors can use kqueue/kevent X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 09:27:48 -0000 I was suprised the java uses poll() on freebsd for its nio, while others are using devpoll() or epoll(). I have spent one week to work out a patch, and let it work with kqueue. I have tried to make it better, but because the java nio selector are poll() centric so something in the patch is not very perfect. Here is the patch: http://people.freebsd.org/~davidxu/patch/jdk16_nio_kqueue.patch just cd into /usr/ports/jdk16, and type following commands: make extract make patch cd work patch < this_patch_file cd .. make install note that the patch does not make kqueue method as default provider, you should specify it on comand line like following: java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KqueueSelectorProvider Regards, David Xu From owner-freebsd-java@FreeBSD.ORG Mon Aug 2 09:30:04 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F13106566B for ; Mon, 2 Aug 2010 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 20E7E8FC12 for ; Mon, 2 Aug 2010 09:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o729U4VS036577 for ; Mon, 2 Aug 2010 09:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o729U30F036572; Mon, 2 Aug 2010 09:30:03 GMT (envelope-from gnats) Date: Mon, 2 Aug 2010 09:30:03 GMT Message-Id: <201008020930.o729U30F036572@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: David Xu Cc: Subject: Re: java/115773: [request] java.nio channel selectors should use kqueue/kevent instead of poll X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Xu List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 09:30:04 -0000 The following reply was made to PR java/115773; it has been noted by GNATS. From: David Xu To: bug-followup@freebsd.org, freebsd@spatula.net Cc: Subject: Re: java/115773: [request] java.nio channel selectors should use kqueue/kevent instead of poll Date: Mon, 02 Aug 2010 17:20:21 +0800 I have a patch to let nio use kqueue(), I have roughly tested it, and it works fine. http://people.freebsd.org/~davidxu/patch/jdk16_nio_kqueue.patch just cd into /usr/ports/jdk16, and type following commands: make extract make patch cd work patch < this_patch_file cd .. make install note that the patch does not make kqueue method be default, you should specify it on comand line like following: java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KqueueSelectorProvider Regards, David Xu From owner-freebsd-java@FreeBSD.ORG Mon Aug 2 11:07:04 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A97D5106566B for ; Mon, 2 Aug 2010 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C64C8FC1A for ; Mon, 2 Aug 2010 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o72B74OR035144 for ; Mon, 2 Aug 2010 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o72B73Hq035142 for freebsd-java@FreeBSD.org; Mon, 2 Aug 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Aug 2010 11:07:03 GMT Message-Id: <201008021107.o72B73Hq035142@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/147512 java Crash of RXTX-2.1-7 on AMD64 system f ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 31 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 07:26:58 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F224B106567C; Tue, 3 Aug 2010 07:26:58 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id B04D58FC16; Tue, 3 Aug 2010 07:26:58 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id o736lTQJ004256; Mon, 2 Aug 2010 23:47:30 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id o736lTgR004255; Mon, 2 Aug 2010 23:47:29 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 2 Aug 2010 23:47:29 -0700 From: Greg Lewis To: David Xu Message-ID: <20100803064729.GA3964@misty.eyesbeyond.com> References: <4C568F93.1070608@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C568F93.1070608@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-java@freebsd.org Subject: Re: java nio channel selectors can use kqueue/kevent X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 07:26:59 -0000 G'day David, On Mon, Aug 02, 2010 at 05:27:47PM +0800, David Xu wrote: > I was suprised the java uses poll() on freebsd for its nio, while > others are using devpoll() or epoll(). I have spent one week to > work out a patch, and let it work with kqueue. I have tried to make > it better, but because the java nio selector are poll() centric > so something in the patch is not very perfect. Thanks so much for doing this! I'll try and get it into the jdk16 port as soon as possible. Are you willing for this change to also go into the OpenJDK ports? Or, more particularly, are you willing to contribute it to the main OpenJDK repo? Unfortunately that will require some paper work. > Here is the patch: > http://people.freebsd.org/~davidxu/patch/jdk16_nio_kqueue.patch > > just cd into /usr/ports/jdk16, and type following commands: > > make extract > make patch > cd work > patch < this_patch_file > cd .. > make install > > note that the patch does not make kqueue method as default provider, > you should specify it on comand line like following: > > java > -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KqueueSelectorProvider > > > > Regards, > David Xu > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 09:09:32 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 469D51065675 for ; Tue, 3 Aug 2010 09:09:32 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 357E78FC15; Tue, 3 Aug 2010 09:09:32 +0000 (UTC) Received: from apple.my.domain (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7399Uil061195; Tue, 3 Aug 2010 09:09:31 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4C57DCCA.5070109@freebsd.org> Date: Tue, 03 Aug 2010 17:09:30 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: Greg Lewis References: <4C568F93.1070608@freebsd.org> <20100803064729.GA3964@misty.eyesbeyond.com> In-Reply-To: <20100803064729.GA3964@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: java nio channel selectors can use kqueue/kevent X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 09:09:32 -0000 Greg Lewis wrote: > G'day David, > > On Mon, Aug 02, 2010 at 05:27:47PM +0800, David Xu wrote: >> I was suprised the java uses poll() on freebsd for its nio, while >> others are using devpoll() or epoll(). I have spent one week to >> work out a patch, and let it work with kqueue. I have tried to make >> it better, but because the java nio selector are poll() centric >> so something in the patch is not very perfect. > > Thanks so much for doing this! I'll try and get it into the jdk16 port > as soon as possible. Are you willing for this change to also go into the > OpenJDK ports? Or, more particularly, are you willing to contribute it > to the main OpenJDK repo? Unfortunately that will require some paper > work. FYI, I have updated the patch: http://people.freebsd.org/~davidxu/java/jdk16_nio_kqueue2.patch Also, following patch will make kqueue as default provider: http://people.freebsd.org/~davidxu/java/DefaultSelectorProvider.patch I will look OpenJDK to see if I can help. ;-) From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 09:22:14 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7A49106567A; Tue, 3 Aug 2010 09:22:14 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 19EC58FC0C; Tue, 3 Aug 2010 09:22:13 +0000 (UTC) Received: by wyj26 with SMTP id 26so5099118wyj.13 for ; Tue, 03 Aug 2010 02:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=dvIu+X+N/3JaiUQnpoTKXhe9T2S1hwRy5n2moNmVFmk=; b=T/SktxSD6tqMbSlTxIZ0YXVIEnWi2IXVtFJpXx6HWo3Tl1nyHbJK/C4bBKThUhm5ZP OXiaQQojU/2XHFdjb8/+5XhGfYwy6OH+OOSYY8wp3D4PCGnMn5UR9Y3+TmQLiuK0SImZ vTgbdZclUFtG9IzpWSdeIkT4uIIvXM0XqfzDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=vdtpuiLwTGk4FrnCMabndHbqyqq/I8fZAXIwAIas7jmG0vsWnnCXA4f30gQ5FI6INz okSNplv+93VY/HJVelWq2DAbYWNN3Q7v9LFzNSbXYRxkr9pzIFMeTzSaU2GaPGmzJSL8 UMHZfrMHxrtfZ372jVkS6iaN/fMXA8ta/15kI= Received: by 10.227.138.5 with SMTP id y5mr5942526wbt.204.1280825531200; Tue, 03 Aug 2010 01:52:11 -0700 (PDT) Received: from dragon.dg (41-132-24-16.dsl.mweb.co.za [41.132.24.16]) by mx.google.com with ESMTPS id o84sm3376652wej.13.2010.08.03.01.52.05 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 01:52:09 -0700 (PDT) From: David Naylor Organization: Private To: glewis@freebsd.org Date: Tue, 3 Aug 2010 10:52:03 +0200 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.3; amd64; ; ) References: <201008012223.o71MN2ls062722@freefall.freebsd.org> In-Reply-To: <201008012223.o71MN2ls062722@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5005499.Xx81OEYEiG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201008031052.10051.naylor.b.david@gmail.com> Cc: freebsd-java@freebsd.org Subject: Re: ports/148753: [patch] java/openjdk6 does not respect MAKE_JOBS_(SAFE|NUMBER) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 09:22:14 -0000 --nextPart5005499.Xx81OEYEiG Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, It appears the commit does not fix the problem. =20 I do: # make -n -DFORCE_MAKE_JOBS CONFIG_DONE_OPENJDK6=3D1 and I see gmake -f Makefile -j`/sbin/sysctl -n kern.smp.cpus` all The -j argument is what was causing openjdk6 to fail originally (with unkno= wn=20 target). The ``_MAKE_JOBS=3D'' at the end of the Makefile was intended to = fix=20 that. =20 Regards On Monday 02 August 2010 00:23:02 glewis@freebsd.org wrote: > Synopsis: [patch] java/openjdk6 does not respect MAKE_JOBS_(SAFE|NUMBER) >=20 > State-Changed-From-To: feedback->closed > State-Changed-By: glewis > State-Changed-When: Sun Aug 1 22:23:02 UTC 2010 > State-Changed-Why: > Committed, with minor changes. Thanks! >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D148753 --nextPart5005499.Xx81OEYEiG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEABECAAYFAkxX2LoACgkQUaaFgP9pFrIS1gCgiDZ7MBQKom7bQKgyTYDCUnRY up0An1xAc/iWZt5AJCD6ZUjDOlUBTSy5 =xiYC -----END PGP SIGNATURE----- --nextPart5005499.Xx81OEYEiG-- From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 10:23:44 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E99106564A; Tue, 3 Aug 2010 10:23:44 +0000 (UTC) (envelope-from mlusetti@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id F2FA08FC14; Tue, 3 Aug 2010 10:23:43 +0000 (UTC) Received: by fxm13 with SMTP id 13so2042771fxm.13 for ; Tue, 03 Aug 2010 03:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+BkdEzVAU4WuOBClCL3wdhSg3MJoW3dM4iKp91GaRKg=; b=uB9NqykJuLNEc8ihYxcLJ1VBJvMkQiP2rou3OL4kfWrIK2gTf3FAXevQwEcMKTBqDe SLCNTR+bM3n71Xr6CuUyiD3/h8pyw1MvCZubuwqhFDB9+c/lgSzwtI8JLnnYlUxqe5iF gWpjhZKukhHR2cXZ2cZ0lM2KUFFWj4dnXas4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OQ3vOCoQbeQo6FOiO9lNTc0+TpjySXyUyalJc/9l434c1HQkaqbBhAjt3wu0aDmhfn EDN2pYz84PoehFhyX+1mfCu7OtW0qHpxNtwZU3/ALju85I8Xn+8mm7uSEtZfilE/0tf9 m2AAwP/rDU+FuIPi+g00nCMUiXMa5s8p6tipw= MIME-Version: 1.0 Received: by 10.239.135.78 with SMTP id c14mr349476hbc.64.1280829347781; Tue, 03 Aug 2010 02:55:47 -0700 (PDT) Received: by 10.239.164.79 with HTTP; Tue, 3 Aug 2010 02:55:47 -0700 (PDT) In-Reply-To: <4C57DCCA.5070109@freebsd.org> References: <4C568F93.1070608@freebsd.org> <20100803064729.GA3964@misty.eyesbeyond.com> <4C57DCCA.5070109@freebsd.org> Date: Tue, 3 Aug 2010 11:55:47 +0200 Message-ID: From: Massimo Lusetti To: David Xu Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-java@freebsd.org Subject: Re: java nio channel selectors can use kqueue/kevent X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 10:23:44 -0000 On Tue, Aug 3, 2010 at 11:09 AM, David Xu wrote: > FYI, I have updated the patch: > > http://people.freebsd.org/~davidxu/java/jdk16_nio_kqueue2.patch > > Also, following patch will make kqueue as default provider: > http://people.freebsd.org/~davidxu/java/DefaultSelectorProvider.patch > > I will look OpenJDK to see if I can help. ;-) That's pretty nice! ... Thanks David. Did you manage to get some numbers out of the impact of the patch? Regards -- Massimo From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 19:31:06 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F2C106564A for ; Tue, 3 Aug 2010 19:31:06 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id ECD2E8FC18 for ; Tue, 3 Aug 2010 19:31:05 +0000 (UTC) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.4/8.14.4) with ESMTP id o73JA644026320 for ; Tue, 3 Aug 2010 14:10:06 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.4/8.14.4/Submit) id o73JA6Sj026318 for freebsd-java@freebsd.org; Tue, 3 Aug 2010 14:10:06 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: freebsd-java@freebsd.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 03 Aug 2010 14:10:06 -0500 Message-ID: <1280862606.25758.6.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 FreeBSD GNOME Team Port Subject: IcedTea X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 19:31:06 -0000 Has anyone tried the latest IcedTea dist (1.8 I think), which I believe has the Java plugin? Is this the way FreeBSD will provide the Java plugin or is there still hope that Oracle/Sun will opensource the plugin code? I know this has been brought up before, with firefox 4 in the works I'm sure it will require a newer java as well. Thanks, Scott =20 From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 20:41:17 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C9CED1065674; Tue, 3 Aug 2010 20:41:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Tue, 3 Aug 2010 16:40:57 -0400 User-Agent: KMail/1.6.2 References: <1280862606.25758.6.camel@scotth.emsphone.com> In-Reply-To: <1280862606.25758.6.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008031641.01111.jkim@FreeBSD.org> Cc: "Scott T. Hildreth" Subject: Re: IcedTea X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 20:41:17 -0000 On Tuesday 03 August 2010 03:10 pm, Scott T. Hildreth wrote: > Has anyone tried the latest IcedTea dist (1.8 I think), which I > believe has the Java plugin? I haven't tried the lastest IcedTea but I have experimented with some old versions. FYI, you cannot use IcedTea as is because it is just a bunch of patches and build glues for Linux distros. > Is this the way FreeBSD will provide the Java plugin or is there > still hope that Oracle/Sun will opensource the plugin code? Theoretically, you can build the IcedTea plugin with FreeBSD OpenJDK ports. Last time I tried, all I needed to build the plugin was liveconnect, netx, and plugin directories and some patches in patches/extensions from the IcedTea tarball. Of course, you need to write some build glues, which is, well, not so trivial. Any way, I was able to build it but it was incomplete because we didn't have the latest libxul in ports tree to make it work at the time. I believe Gecko porting team is working on it and I may try it again if I find some copious free time. ;-) > I know this has been brought up before, with firefox 4 in the works > I'm sure it will require a newer java as well. FYI, Firefox has nothing to do with Java version itself. Mozilla team just removed the old Java plugin API (OJI) from newer Gecko engines and that's all. I think "Look, Sun has released plugin binaries with the new API for Linux! Let's kill the old API." was really really a bad decision because 1) Sun promised but never released the sources after all, 2) it pretty much killed all third-party OJI plugins including my Diablo plugin for FreeBSD/amd64. Of course, you can stay with old Firefox and friends but... Sigh... Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Tue Aug 3 20:47:42 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 200AD1065676 for ; Tue, 3 Aug 2010 20:47:42 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id C98DC8FC08 for ; Tue, 3 Aug 2010 20:47:41 +0000 (UTC) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.4/8.14.4) with ESMTP id o73KlfjV026851; Tue, 3 Aug 2010 15:47:41 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.4/8.14.4/Submit) id o73Kle0W026850; Tue, 3 Aug 2010 15:47:41 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: Jung-uk Kim In-Reply-To: <201008031641.01111.jkim@FreeBSD.org> References: <1280862606.25758.6.camel@scotth.emsphone.com> <201008031641.01111.jkim@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 03 Aug 2010 15:47:40 -0500 Message-ID: <1280868460.25758.20.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 FreeBSD GNOME Team Port Cc: freebsd-java@freebsd.org Subject: Re: IcedTea X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 20:47:42 -0000 On Tue, 2010-08-03 at 16:40 -0400, Jung-uk Kim wrote: > On Tuesday 03 August 2010 03:10 pm, Scott T. Hildreth wrote: > > Has anyone tried the latest IcedTea dist (1.8 I think), which I > > believe has the Java plugin? >=20 > I haven't tried the lastest IcedTea but I have experimented with some=20 > old versions. FYI, you cannot use IcedTea as is because it is just a=20 > bunch of patches and build glues for Linux distros. >=20 > > Is this the way FreeBSD will provide the Java plugin or is there > > still hope that Oracle/Sun will opensource the plugin code? >=20 > Theoretically, you can build the IcedTea plugin with FreeBSD OpenJDK=20 > ports. Last time I tried, all I needed to build the plugin was=20 > liveconnect, netx, and plugin directories and some patches in=20 > patches/extensions from the IcedTea tarball. Of course, you need to=20 > write some build glues, which is, well, not so trivial. Any way, I=20 > was able to build it but it was incomplete because we didn't have the=20 > latest libxul in ports tree to make it work at the time. I believe=20 > Gecko porting team is working on it and I may try it again if I find=20 > some copious free time. ;-) >=20 > > I know this has been brought up before, with firefox 4 in the works > > I'm sure it will require a newer java as well. >=20 > FYI, Firefox has nothing to do with Java version itself. Mozilla team= =20 > just removed the old Java plugin API (OJI) from newer Gecko engines=20 > and that's all. I think "Look, Sun has released plugin binaries with=20 > the new API for Linux! Let's kill the old API." was really really a=20 > bad decision because 1) Sun promised but never released the sources=20 > after all, 2) it pretty much killed all third-party OJI plugins=20 > including my Diablo plugin for FreeBSD/amd64. Of course, you can=20 > stay with old Firefox and friends but... =20 I have no problem using 3.5, just wondering how much longer they will=20 support it (I'm sure for a while). > Sigh... =20 Yes, that won't be good for the Desktop BSD's dists. Thanks for the info. >=20 > Jung-uk Kim > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Sat Aug 7 02:53:24 2010 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC2101065670 for ; Sat, 7 Aug 2010 02:53:24 +0000 (UTC) (envelope-from QAT@FeeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id A50058FC16 for ; Sat, 7 Aug 2010 02:53:24 +0000 (UTC) Received: from jester1b.ixsystems.com (unknown [206.40.55.137]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id 1BB1F22C53B8; Sat, 7 Aug 2010 05:35:30 +0300 (EEST) Received: by jester1b.ixsystems.com (Postfix, from userid 0) id B80F65A9070; Fri, 6 Aug 2010 19:35:28 -0700 (PDT) From: QAT@FreeBSD.org To: Greg Lewis In-Reply-To: <201008070212.o772CEPM000514@repoman.freebsd.org> References: <201008070212.o772CEPM000514@repoman.freebsd.org> X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-3.3_3; dsversion: 3.2.1 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_8 X-QAT-Jail_Last_Built: 2010-03-11 13:38:43 X-QAT-Port: java/openjdk6 X-QAT-Log: http://QAT.TecNik93.com/logs/8-STABLE-NPD/openjdk6-b20.log X-QAT-Build_Reason: Commit X-QAT-Fail_Reason: OK Message-Id: <20100807023528.B80F65A9070@jester1b.ixsystems.com> Date: Fri, 6 Aug 2010 19:35:28 -0700 (PDT) Cc: cvs-ports@FreeBSD.org, java@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Now OK (Re: cvs commit: ports/java/openjdk6 Makefile) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2010 02:53:25 -0000 java/openjdk6, which was previously failing is OK after this commit. Thanks for fixing it! A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - "HMC and EOI?" - "Halt, Melt and Catch fire or Execute Operator Immediately." From owner-freebsd-java@FreeBSD.ORG Sat Aug 7 18:45:04 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C721065675; Sat, 7 Aug 2010 18:45:04 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 68B598FC0C; Sat, 7 Aug 2010 18:45:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o77Ij4Re094207; Sat, 7 Aug 2010 18:45:04 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o77Ij474094203; Sat, 7 Aug 2010 18:45:04 GMT (envelope-from glewis) Date: Sat, 7 Aug 2010 18:45:04 GMT Message-Id: <201008071845.o77Ij474094203@freefall.freebsd.org> To: freebsd@spatula.net, glewis@FreeBSD.org, freebsd-java@FreeBSD.org From: glewis@FreeBSD.org Cc: Subject: Re: java/115773: [patch] java.nio channel selectors should use kqueue/kevent instead of poll X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2010 18:45:04 -0000 Synopsis: [patch] java.nio channel selectors should use kqueue/kevent instead of poll State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Sat Aug 7 18:44:42 UTC 2010 State-Changed-Why: I've committed David's patch. Thanks David! http://www.freebsd.org/cgi/query-pr.cgi?pr=115773 From owner-freebsd-java@FreeBSD.ORG Sat Aug 7 18:50:04 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BB04106566B for ; Sat, 7 Aug 2010 18:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0AB8FC0C for ; Sat, 7 Aug 2010 18:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o77Io4DT094356 for ; Sat, 7 Aug 2010 18:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o77Io4e1094355; Sat, 7 Aug 2010 18:50:04 GMT (envelope-from gnats) Date: Sat, 7 Aug 2010 18:50:04 GMT Message-Id: <201008071850.o77Io4e1094355@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: java/115773: commit references a PR X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2010 18:50:04 -0000 The following reply was made to PR java/115773; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: java/115773: commit references a PR Date: Sat, 7 Aug 2010 18:44:21 +0000 (UTC) glewis 2010-08-07 18:44:12 UTC FreeBSD ports repository Modified files: java/jdk16 Makefile Added files: java/jdk16/files patch-nio-kqueue Log: . Add a new NIO selector that uses kqueue(2) and make it the default. PR: 115773 Submitted by: davidxu@ Revision Changes Path 1.179 +1 -1 ports/java/jdk16/Makefile 1.1 +699 -0 ports/java/jdk16/files/patch-nio-kqueue (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"