From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 05:34:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A405637B401 for ; Mon, 2 Jun 2003 05:34:49 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B06343F75 for ; Mon, 2 Jun 2003 05:34:48 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19MoWT-000OgU-Gi for freebsd-java@FreeBSD.org; Mon, 02 Jun 2003 14:34:45 +0200 Date: Mon, 2 Jun 2003 14:34:45 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030602123445.GK84604@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 12:34:49 -0000 I think this message fraom Daniel Eischen to the freebsd-current list is worth noting. Ciao, Sheldon. ----- Forwarded message from Daniel Eischen ----- Date: Mon, 2 Jun 2003 07:49:14 -0400 (EDT) From: Daniel Eischen To: Sheldon Hearn cc: Narvi , freebsd-current@freebsd.org Subject: Re: Native JDK with libthr/libkse On Mon, 2 Jun 2003, Sheldon Hearn wrote: > On (2003/06/01 23:53), Narvi wrote: > > > > The absence of credible Java support in FreeBSD has lost us significant > > > penetration in the past, and it would be disastrous if the perceptions > > > of the past shaped the future. > > > > credible rather sounds like 'comes on the installation cd, doesn't have > > significantly more bugs than linux/solaris/xxx version' 8-( > > And I think we'll get there. And I encourage the java developers to let us threads guys know what they're having problems with. It has been stated that jdk is not guaranteed to work with anything but libc_r, so contact us over at threads@. We want to see a fast and stable jdk as much as anyone else does. -- Dan Eischen ----- End forwarded message ----- From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 08:02:13 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10CD037B48A for ; Mon, 2 Jun 2003 08:02:12 -0700 (PDT) Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA4943F75 for ; Mon, 2 Jun 2003 08:02:10 -0700 (PDT) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.134.164.59]) by hfep06.dion.ne.jp with ESMTP id <20030602150205450.XLYF@hfep06.dion.ne.jp>; Tue, 3 Jun 2003 00:02:05 +0900 Date: Tue, 03 Jun 2003 00:01:43 +0900 (JST) Message-Id: <20030603.000143.74755686.haro@h4.dion.ne.jp> To: sheldonh@starjuice.net, freebsd-java@freebsd.org From: Munehiro Matsuda In-Reply-To: <20030602123445.GK84604@starjuice.net> References: <20030602123445.GK84604@starjuice.net> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Jun__3_00:01:43_2003_142)--" Content-Transfer-Encoding: 7bit Subject: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:02:14 -0000 ----Next_Part(Tue_Jun__3_00:01:43_2003_142)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Sheldon Hearn Date: Mon, 2 Jun 2003 14:34:45 +0200 ::I think this message fraom Daniel Eischen to the freebsd-current list is ::worth noting. :: ::Ciao, ::Sheldon. :: ::----- Forwarded message from Daniel Eischen ----- :: ::Date: Mon, 2 Jun 2003 07:49:14 -0400 (EDT) ::From: Daniel Eischen ::To: Sheldon Hearn ::cc: Narvi , freebsd-current@freebsd.org ::Subject: Re: Native JDK with libthr/libkse :: ::And I encourage the java developers to let us threads guys know ::what they're having problems with. It has been stated that ::jdk is not guaranteed to work with anything but libc_r, so ::contact us over at threads@. We want to see a fast and stable ::jdk as much as anyone else does. Hi Sheldon and jdk13 users, Thanks for the info. I now think it's best time to release a patch for jdk13+HostSpot to make it work with libthr/libkse. This patch is mostly based on work done by Antony T Curtis, back in March, with minor clean-up by me. The original message can be found with: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=472328+0+archive/2003/freebsd-java/20030316.freebsd-java The patch has only been lightly tested with: OS : 5-CURRENT/-BETA Lib: libthr and libkse (mostly with libthr) App: $JAVA_HOME/demo/jfc/Java2D/Java2Demo.html, etc... Somehow '-native' (Native thread) does not seem to work... Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Network & Security Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0373 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp ----Next_Part(Tue_Jun__3_00:01:43_2003_142)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk13.hotspot.libthr.patch" diff -ruN --exclude CVS jdk13.org/files/patch-hotspot-gcc.make jdk13/files/patch-hotspot-gcc.make --- jdk13.org/files/patch-hotspot-gcc.make Thu Jan 1 09:00:00 1970 +++ jdk13/files/patch-hotspot-gcc.make Fri Apr 4 18:17:02 2003 @@ -0,0 +1,11 @@ +--- ../../hotspot1.3.1/build/linux/makefiles/gcc.make.org Wed Apr 2 11:24:03 2003 ++++ ../../hotspot1.3.1/build/linux/makefiles/gcc.make Wed Apr 2 11:29:01 2003 +@@ -17,7 +17,7 @@ + CFLAGS += -fwritable-strings + CFLAGS += -fno-rtti + CFLAGS += -fhandle-exceptions +-CFLAGS += -D__STDC__=1 -D_LARGEFILE64_SOURCE -DTEMPLATE_TABLE_BUG ++CFLAGS += -D__STDC__=1 -D_LARGEFILE64_SOURCE + CFLAGS += -D__GNU__ -D_REENTRANT + CFLAGS += -fcheck-new + diff -ruN --exclude CVS jdk13.org/files/patch-hotspot-os.hpp jdk13/files/patch-hotspot-os.hpp --- jdk13.org/files/patch-hotspot-os.hpp Thu Jan 1 09:00:00 1970 +++ jdk13/files/patch-hotspot-os.hpp Fri Mar 14 12:08:26 2003 @@ -0,0 +1,12 @@ +diff -ur ../../hotspot1.3.1/src/share/vm/runtime/os.hpp ../../hotspot1.3.1/src/share/vm/runtime/os.hpp +--- ../../hotspot1.3.1/src/share/vm/runtime/os.hpp Fri Mar 14 01:32:07 2003 ++++ ../../hotspot1.3.1/src/share/vm/runtime/os.hpp Fri Mar 14 00:05:31 2003 +@@ -156,7 +156,7 @@ + static address current_stack_pointer(); + static address current_stack_base(); + static address current_stack_limit(); +- static int current_stack_size(); ++ static size_t current_stack_size(); + + static int message_box(const char* title, const char* message); + diff -ruN --exclude CVS jdk13.org/files/patch-hotspot-os_linux.cpp jdk13/files/patch-hotspot-os_linux.cpp --- jdk13.org/files/patch-hotspot-os_linux.cpp Thu Jan 1 09:00:00 1970 +++ jdk13/files/patch-hotspot-os_linux.cpp Fri Mar 14 12:08:52 2003 @@ -0,0 +1,146 @@ +diff -ur ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp +--- ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp Fri Mar 14 01:32:06 2003 ++++ ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp Thu Mar 13 23:53:43 2003 +@@ -39,12 +39,7 @@ + + #include + #include +- +-#undef pthread_attr_default +-#undef pthread_mutexattr_default +-#undef pthread_condattr_default +- +-#include ++#include + + #include + #include +@@ -124,82 +119,46 @@ + } + } + +-address os::current_stack_base() +-{ +- uintptr_t addr, +- guard_page_size = getpagesize(); +- int result; +- pthread_t self = pthread_self(); +- +- result = pthread_main_np(); +-// result = pthread_equal(self, _thread_initial); +-#if 1 ++address os::current_stack_base() { + +- if (result > 0) { +- addr = (uintptr_t) USRSTACK; +- } +- else if (result == 0 ) { +- //if (self != NULL) ++ uintptr_t addr = NULL; ++ pthread_attr_t attr; ++ void *mystack = NULL; ++ size_t mysize = 0; ++ ++ if (pthread_attr_init(&attr) == 0) { ++ if (pthread_attr_get_np(pthread_self(), &attr) != 0) ++ goto err; ++ if (pthread_attr_getstackaddr(&attr, &mystack) != 0) ++ goto err; ++ if (pthread_attr_getstacksize(&attr, &mysize) != 0) ++ goto err; + +- self = pthread_self(); +- if (!(self > 0)) { +- fprintf(stderr, "pthread_main_np self == 0x%08x", (uintptr_t) self); +- } +- else { +- addr = (uintptr_t) self->stack; +- } +- } +- else { +- warning("pthread_main_np reported that _thread_initial == NULL"); +- } +- return (address) addr; +- +-#else ++ addr = (uintptr_t) mystack + mysize; ++ pthread_attr_destroy(&attr); + +- if (self > 0) { +- addr = (uintptr_t) self->stack; +- fprintf(stderr, "attr == 0x%08x\n", addr); +- } +- else { +- fprintf(stderr, "pthread_self failed == 0x%08x\n", (uintptr_t) self); +- } + return (address) addr; ++ } ++ ++err: ++ fatal("Unable to get current thread stack base pointer"); + +-#endif + } + +-// Same for this function too +-// +-// --billh +-int os::current_stack_size() +-{ +- uintptr_t sizep = 0; +- pthread_t self = pthread_self(); ++size_t os::current_stack_size() { + +-#if 0 +- if (pthread_equal(self, _thread_initial)) { +-// if (pthread_main_np()){ +- /* in main()'s thread */ +- struct rlimit r; +- assert(getrlimit(RLIMIT_STACK, &r) == 0, "os::current_stack_size: getrlimit failed"); +- sizep = (long)r.rlim_cur; +- +-#define PTHREAD_STACK_DEFAULT 65536 +- } else { +- sizep = (long) PTHREAD_STACK_DEFAULT; +- } +- return sizep; +-#else +- if (self > 0) { +- sizep = (uintptr_t) self->attr.stacksize_attr; ++ pthread_attr_t attr; ++ size_t sizep = 0; + ++ if (pthread_attr_init(&attr) == 0) { ++ if (pthread_attr_get_np(pthread_self(), &attr) == 0) { ++ pthread_attr_getstacksize(&attr, &sizep); + } +- else { +- fprintf(stderr, "pthread_self failed == 0x%08x\n", self); +- } +- ++ pthread_attr_destroy(&attr); + return sizep; +-#endif ++ } ++ ++ fatal("Unable to get current thread stack base size"); + } + + // Part 2 +@@ -358,6 +317,7 @@ + #define RT_JAR "/lib/rt.jar" + #define I18N_JAR "/lib/i18n.jar" + #define SUNRSASIGN_JAR "/lib/sunrsasign.jar" ++#define EXTENSIONS_DIR "/lib/ext" + #define CLASSES_DIR "/classes" + #define DEFAULT_LD_LIBRARY_PATH "/usr/lib" /* See ld.so.1(1) */ + +@@ -431,7 +391,7 @@ + char * buf; + // buf = malloc(strlen(sprops.java_home) + sizeof(MAXNAMLEN)); + buf = malloc(MAXNAMLEN); +- snprintf(buf, MAXNAMLEN, "%s", sprops.java_home); ++ snprintf(buf, MAXNAMLEN, "%s" EXTENSIONS_DIR, sprops.java_home); + sprops.ext_dirs = buf; + } + } diff -ruN --exclude CVS jdk13.org/files/patch-hotspot-os_linux_i486.cpp jdk13/files/patch-hotspot-os_linux_i486.cpp --- jdk13.org/files/patch-hotspot-os_linux_i486.cpp Thu Jan 1 09:00:00 1970 +++ jdk13/files/patch-hotspot-os_linux_i486.cpp Fri Mar 14 12:09:28 2003 @@ -0,0 +1,16 @@ +diff -ur ../../hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp ../../hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp +--- ../../hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp Fri Mar 14 01:32:06 2003 ++++ ../../hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp Fri Mar 14 00:15:28 2003 +@@ -35,12 +35,6 @@ + + #include + +-#undef pthread_attr_default +-#undef pthread_mutexattr_default +-#undef pthread_condattr_default +- +-#include +- + #define MAX_PATH (2 * K) + #define INTERRUPT_SIGNAL SIGUSR1 + diff -ruN --exclude CVS jdk13.org/files/patch-plugin-java_vm.c jdk13/files/patch-plugin-java_vm.c --- jdk13.org/files/patch-plugin-java_vm.c Thu Jan 1 09:00:00 1970 +++ jdk13/files/patch-plugin-java_vm.c Tue Mar 18 16:54:52 2003 @@ -0,0 +1,29 @@ +--- ../ext/plugin/oji-plugin/src/motif/jvm_exec/java_vm.c.org Sun Mar 16 23:54:01 2003 ++++ ../ext/plugin/oji-plugin/src/motif/jvm_exec/java_vm.c Tue Mar 18 16:53:56 2003 +@@ -119,12 +119,24 @@ + void *libjvm; + char jvmpath[MAXPATHLEN]; + const char *debug = ""; ++ char *thread_type; + + if (getenv("JAVA_PLUGIN_DEBUG")) + debug = "_g"; + +- snprintf(jvmpath, sizeof jvmpath, "%s/lib/"ARCH"/client/libjvm%s.so", java_home, debug); +- libjvm = dlopen(jvmpath, RTLD_NOW + RTLD_GLOBAL); ++ /* ++ * Check for HotSpot VM. ++ * With the current status of *BSD JDK, HotSpot VM needs to have ++ * THREADS_FLAG envrionment varible set to "native" at startup time, ++ * which in turn defined within THREADS_TYPE along the way here. ++ * So check for THREADS_TYPE, before loading HotSpot VM. ++ */ ++ libjvm = NULL; ++ thread_type = getenv("THREADS_TYPE"); ++ if (thread_type != NULL && strcmp(thread_type, "native_threads") == 0) { ++ snprintf(jvmpath, sizeof jvmpath, "%s/lib/"ARCH"/client/libjvm%s.so", java_home, debug); ++ libjvm = dlopen(jvmpath, RTLD_NOW + RTLD_GLOBAL); ++ } + + if (libjvm == NULL) { + /* If we don't find the HotSpot JVM, look in classic. diff -ruN --exclude CVS jdk13.org/files/patch-threads_bsd.c jdk13/files/patch-threads_bsd.c --- jdk13.org/files/patch-threads_bsd.c Sat Mar 1 07:47:00 2003 +++ jdk13/files/patch-threads_bsd.c Tue May 20 00:49:47 2003 @@ -1,8 +1,8 @@ $FreeBSD: ports/java/jdk13/files/patch-threads_bsd.c,v 1.1 2003/02/28 17:47:38 glewis Exp $ --- ../src/solaris/hpi/native_threads/src/threads_bsd.c 7 Feb 2002 05:19:54 -0000 1.12 -+++ ../src/solaris/hpi/native_threads/src/threads_bsd.c 25 Feb 2003 16:31:54 -0000 -@@ -22,32 +22,23 @@ ++++ ../src/solaris/hpi/native_threads/src/threads_bsd.c Tue May 20 00:44:07 2003 +@@ -22,32 +22,25 @@ #include "np.h" #include @@ -16,11 +16,12 @@ -/* Remove defines from pthread.h so pthread_private.h can be included */ -#undef pthread_condattr_default -#undef pthread_mutexattr_default ++#ifdef DEBUG_BSD_NATIVE_THREADS #undef pthread_attr_default +#undef pthread_mutexattr_default +#undef pthread_condattr_default #include "pthread_private.h" - +- -#include -#include -#include @@ -30,7 +31,8 @@ -#include -#include -#include -- ++#endif + #endif #include @@ -40,7 +42,7 @@ #include #include #include -@@ -63,14 +54,9 @@ +@@ -63,14 +56,9 @@ /* Private functions used to implement native threading. --billh */ #ifdef DEBUG_BSD_NATIVE_THREADS @@ -57,9 +59,17 @@ /* * Suspend a thread. Used to implement java.lang.Thread.suspend(), -@@ -108,28 +94,24 @@ - int - np_stackinfo(void **addr, long *sizep) +@@ -103,33 +91,45 @@ + + + /* +- * Get the stack start address, and max stack size for the current thread. ++ * Internal helper function to get stack information about specified thread. + */ +-int +-np_stackinfo(void **addr, long *sizep) ++static int ++get_stackinfo(pthread_t tid, pthread_attr_t attr, void **addr, long *sizep) { - thread_t self = pthread_self(); - int base; @@ -68,41 +78,53 @@ - if (!pthread_equal(self, _thread_initial)) { - *addr = self->stack; - *sizep = (long) PTHREAD_STACK_DEFAULT; -- ++ size_t s; ++ void *p; ++ int ret = SYS_ERR; ++ ++ if (pthread_attr_get_np(tid, &attr) != 0) ++ goto err; ++ if (pthread_attr_getstackaddr(&attr, &p) != 0) ++ goto err; ++ if (pthread_attr_getstacksize(&attr, &s) != 0) ++ goto err; ++ *addr = p; ++ *sizep = s; ++ ret = SYS_OK; ++err: + - } else { - /* in main()'s thread */ - struct rlimit r; -- ++ return (ret); ++} + - if (getrlimit(RLIMIT_STACK, &r) == -1) - return SYS_ERR; -- + - /* PS_STRINGS is also from sys/exec.h in FreeBSD, but as macro. --billh */ -- ++/* ++ * Get the stack start address, and max stack size for the current thread. ++ */ ++int ++np_stackinfo(void **addr, long *sizep) ++{ ++ pthread_attr_t attr; ++ int ret = SYS_ERR; + - *addr = (void *) (PS_STRINGS +1); - *sizep = (long)r.rlim_cur; -- } -+ pthread_attr_t attr; -+ size_t size; ++ if (pthread_attr_init(&attr) == 0) { ++ ret = get_stackinfo(pthread_self(), attr, addr, sizep); ++ pthread_attr_destroy(&attr); + } -+ if ((errno = pthread_attr_init(&attr))) -+ return SYS_ERR; -+ if ((errno = pthread_attr_get_np(pthread_self(), &attr))) -+ goto err; -+ if ((errno = pthread_attr_getstackaddr(&attr, addr))) -+ goto err; -+ if ((errno = pthread_attr_getstacksize(&attr, &size))) -+ goto err; -+ *sizep = size; -+ pthread_attr_destroy(&attr); - return SYS_OK; -+ -+err: -+ pthread_attr_destroy(&attr); -+ return SYS_ERR; +- return SYS_OK; ++ return (ret); } /* -@@ -177,7 +159,7 @@ +@@ -177,7 +177,7 @@ Do this for the FreeBSD implementation too, since this is a silly function anyways. --billh */ @@ -111,13 +133,20 @@ } -@@ -190,38 +172,54 @@ +@@ -187,43 +187,69 @@ + return SYS_OK; + } + ++ static void record_thread_regs() { - sys_thread_t *tid; + struct pthread *self = pthread_self(); + sys_thread_t *tid = ThreadQueue; ++ pthread_attr_t attr = NULL; ++ void *addr; ++ long sz; int i; - int sp; @@ -138,6 +167,9 @@ -//#endif //__FreeBSD__ -/* Potential race here if the stack isn't setup before GC. --billh */ - } else { ++ if (pthread_attr_init(&attr) != 0) ++ attr = NULL; ++ + for (i = 0; i < ActiveThreadCount && tid != NULL; i++, tid = tid->next) { + struct pthread *thread = tid->sys_thread; + @@ -152,10 +184,12 @@ } - record_gc_registers_of(tid); -+ tid->sp = thread->stack; -+/* Potential race here if the stack isn't setup before GC. --billh */ - -- tid = tid->next; ++ if (get_stackinfo(thread, attr, &addr, &sz) == SYS_OK) ++ tid->sp = addr; ++ else ++ tid->sp = 0; ++ ++#ifdef DEBUG_BSD_NATIVE_THREADS + /* + * The thread that calls this function will alway be the JVM GC thread, + * so skip over it in the list of threads. @@ -163,13 +197,11 @@ + if (thread != self && (thread->flags & PTHREAD_FLAGS_PRIVATE) == 0) { + register_t *regbase; + -+#ifdef DEBUG_BSD_NATIVE_THREADS + /* + * Got search candidate.. + */ + if (thread->state != PS_SUSPENDED) + dumpThreadLogStates(thread); -+#endif + + regbase = (register_t*) &thread->ctx.jb[0]; + tid->regs[0] = regbase[6]; /* eax */ @@ -179,15 +211,20 @@ + tid->regs[4] = regbase[3]; /* ebp */ + tid->regs[5] = regbase[4]; /* esi */ + tid->regs[6] = regbase[5]; /* edi */ -+ -+#ifdef DEBUG_BSD_NATIVE_THREADS + +- tid = tid->next; + dumpThreadStates(); -+#endif + } ++#endif } ++ if (attr != NULL) ++ pthread_attr_destroy(&attr); ++ #ifdef DEBUG_BSD_NATIVE_THREADS -@@ -239,14 +237,7 @@ + fprintf(stderr, "\n\n\nCalling GC thread\n\n\n"); fflush(stderr); + #endif +@@ -239,14 +265,7 @@ { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); @@ -203,7 +240,7 @@ record_thread_regs(); return SYS_OK; } -@@ -259,42 +250,13 @@ +@@ -259,42 +278,13 @@ np_multi(void) { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); @@ -249,7 +286,7 @@ = { "PS_RUNNING", -@@ -316,18 +278,17 @@ +@@ -316,18 +306,17 @@ "PS_JOIN", "PS_SUSPENDED", "PS_DEAD", @@ -272,7 +309,7 @@ } void dumpThreadStates() -@@ -336,114 +297,29 @@ +@@ -336,114 +325,29 @@ struct pthread *thread; struct pthread *self = pthread_self(); @@ -337,8 +374,8 @@ - */ - _thread_kern_sig_undefer(); -fprintf(stderr, "pthread_suspend_all_np END\n"); --} -- + } + -/* Resume a thread: */ -void -_pthread_resume_all_np(void) @@ -373,9 +410,9 @@ - */ - _thread_kern_sig_undefer(); -fprintf(stderr, "pthread_resume_all_np END\n"); - } +-} -#endif - +- /* [A snippet from Dan Eichen's email on the subject] @@ -392,7 +429,7 @@ You can also look at src/gnu/usr.bin/binutils/gdb/freebsd-uthread.c. It knows how to iterate through all the threads and pull out (and even set) thread contexts. -@@ -462,19 +338,8 @@ +@@ -462,19 +366,8 @@ --billh */ @@ -412,12 +449,12 @@ int i; for(i=0; i < STATE_LOG_SIZE; ++i) { -@@ -494,311 +359,5 @@ +@@ -494,311 +387,5 @@ } } printf("\t\t***XXX\n"); -#endif --} + } - -void record_gc_registers_of(sys_thread_t *javaThread) -{ @@ -482,7 +519,7 @@ -Terminate: - dumpThreadStates(); -#endif - } +-} - -void record_uc(sys_thread_t *t, ucontext_t *uc) -{ ----Next_Part(Tue_Jun__3_00:01:43_2003_142)---- From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 08:52:35 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 061EF37B401; Mon, 2 Jun 2003 08:52:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C09343FA3; Mon, 2 Jun 2003 08:52:34 -0700 (PDT) (envelope-from olgeni@FreeBSD.org) Received: from freefall.freebsd.org (olgeni@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h52FqYUp066947; Mon, 2 Jun 2003 08:52:34 -0700 (PDT) (envelope-from olgeni@freefall.freebsd.org) Received: (from olgeni@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h52FqXjh066943; Mon, 2 Jun 2003 08:52:33 -0700 (PDT) Date: Mon, 2 Jun 2003 08:52:33 -0700 (PDT) From: Jimmy Olgeni Message-Id: <200306021552.h52FqXjh066943@freefall.freebsd.org> To: stefan.schmidt@twest.de, olgeni@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/44275: New Port: netbeans-ide X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:52:35 -0000 Synopsis: New Port: netbeans-ide State-Changed-From-To: open->closed State-Changed-By: olgeni State-Changed-When: Mon Jun 2 08:52:12 PDT 2003 State-Changed-Why: Merged into port. http://www.freebsd.org/cgi/query-pr.cgi?pr=44275 From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 08:53:27 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2066637B401; Mon, 2 Jun 2003 08:53:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9294243F75; Mon, 2 Jun 2003 08:53:26 -0700 (PDT) (envelope-from olgeni@FreeBSD.org) Received: from freefall.freebsd.org (olgeni@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h52FrQUp067020; Mon, 2 Jun 2003 08:53:26 -0700 (PDT) (envelope-from olgeni@freefall.freebsd.org) Received: (from olgeni@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h52FrQCb067016; Mon, 2 Jun 2003 08:53:26 -0700 (PDT) Date: Mon, 2 Jun 2003 08:53:26 -0700 (PDT) From: Jimmy Olgeni Message-Id: <200306021553.h52FrQCb067016@freefall.freebsd.org> To: angel.todorov@-u.de, olgeni@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/49100: New Port: NetBeans - a powerful IDE written in Java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:53:27 -0000 Synopsis: New Port: NetBeans - a powerful IDE written in Java State-Changed-From-To: open->closed State-Changed-By: olgeni State-Changed-When: Mon Jun 2 08:52:58 PDT 2003 State-Changed-Why: Merged into port. http://www.freebsd.org/cgi/query-pr.cgi?pr=49100 From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 09:24:52 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F276937B401; Mon, 2 Jun 2003 09:24:51 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 635DB43FBF; Mon, 2 Jun 2003 09:24:50 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19MqVS-0007J5-00; Mon, 2 Jun 2003 07:41:50 -0700 Date: Mon, 2 Jun 2003 07:41:48 -0700 (PDT) From: Tom Samplonius To: Sheldon Hearn In-Reply-To: <20030602123445.GK84604@starjuice.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org cc: freebsd-java@FreeBSD.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 16:24:52 -0000 ... > And I encourage the java developers to let us threads guys know > what they're having problems with. It has been stated that > jdk is not guaranteed to work with anything but libc_r, so > contact us over at threads@. We want to see a fast and stable > jdk as much as anyone else does. > > -- > Dan Eischen But the last that I've seen on the threads@ list is that libkse's signal handling is not finished, and both libthr and libkse have incomplete SMP support. I've been waiting to hear whether one of these has reached a "finished" state, in order that a test build of jdk on FreeBSD 5 is not a total waste... Tom From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 09:54:10 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A165937B405 for ; Mon, 2 Jun 2003 09:54:10 -0700 (PDT) Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 72F8043FBD for ; Mon, 2 Jun 2003 09:54:09 -0700 (PDT) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.20.221?) (khairil?yusof@219.95.20.221 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 2 Jun 2003 16:54:07 -0000 From: Khairil Yusof To: olgeni@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZGokKd5MAGWmAdORMD+o" Organization: Message-Id: <1054572804.785.114.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 03 Jun 2003 00:53:25 +0800 cc: java@freebsd.org Subject: netbeans port and jpda X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kaeru@pd.jaring.my List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 16:54:10 -0000 --=-ZGokKd5MAGWmAdORMD+o Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Netbeans debugger module complains that jpda isn't installed, but it is with jdk1.4.1. Was running Netbeans 3.4 (manual install), and it didn't complain about not finding the debugger. BTW I'm a newbie to Netbeans, so I'm not sure how to resolve the problem. But jdb is definitely there and working. Any pointers on how to resolve this problem would be much appreciated. -- "Optimized, readable, on time; Pick any two."=20 FreeBSD 5.1-BETA i386=20 12:46AM up 1 day, 2:04, 3 users, load averages: 1.56, 1.65, 1.59 --=-ZGokKd5MAGWmAdORMD+o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+24ECDAqnLW/+/X8RAmI3AKCGJ0zZ+MaDnoVjxneCRV/aq8sTLACfbfZo VClcDRQK28COwQrCLdwdD20= =G2pY -----END PGP SIGNATURE----- --=-ZGokKd5MAGWmAdORMD+o-- From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 10:25:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A589537B405 for ; Mon, 2 Jun 2003 10:25:20 -0700 (PDT) Received: from smtp100.mail.sc5.yahoo.com (smtp100.mail.sc5.yahoo.com [216.136.174.138]) by mx1.FreeBSD.org (Postfix) with SMTP id D36CD43F85 for ; Mon, 2 Jun 2003 10:25:19 -0700 (PDT) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.20.221?) (khairil?yusof@219.95.20.221 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 2 Jun 2003 17:25:18 -0000 From: Khairil Yusof To: olgeni@FreeBSD.org In-Reply-To: <1054572804.785.114.camel@daemon.home.net> References: <1054572804.785.114.camel@daemon.home.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-alvsdaX0RFlCe1h2MyCV" Organization: Message-Id: <1054574677.785.135.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 03 Jun 2003 01:24:37 +0800 cc: java@freebsd.org Subject: Re: netbeans port and jpda X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kaeru@pd.jaring.my List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 17:25:20 -0000 --=-alvsdaX0RFlCe1h2MyCV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-06-03 at 00:53, Khairil Yusof wrote: > Netbeans debugger module complains that jpda isn't installed, but it is > with jdk1.4.1. Found the "problem". Once JDK_HOME is set, then it works without any problems. The port startup scripts will load netbeans even if this isn't set. Sorry to be a nuisance. -- "Optimized, readable, on time; Pick any two."=20 FreeBSD 5.1-BETA i386=20 1:04AM up 1 day, 2:22, 3 users, load averages: 1.50, 1.82, 1.66 --=-alvsdaX0RFlCe1h2MyCV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+24hUDAqnLW/+/X8RArYpAJ9yDC2Z6b2CtscmqPwq1iZpTsp/IACeIERO M4k/KmOtG6yjhD3s7K0YDhQ= =bkRa -----END PGP SIGNATURE----- --=-alvsdaX0RFlCe1h2MyCV-- From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 11:01:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9031537B404 for ; Mon, 2 Jun 2003 11:01:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D8BE43FD7 for ; Mon, 2 Jun 2003 11:01:28 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h52I1SUp080606 for ; Mon, 2 Jun 2003 11:01:28 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h52I1Sc9080600 for java@freebsd.org; Mon, 2 Jun 2003 11:01:28 -0700 (PDT) Date: Mon, 2 Jun 2003 11:01:28 -0700 (PDT) Message-Id: <200306021801.h52I1Sc9080600@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 18:01:32 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 11:23:10 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77EB437B404; Mon, 2 Jun 2003 11:23:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19FEF43F85; Mon, 2 Jun 2003 11:23:10 -0700 (PDT) (envelope-from olgeni@FreeBSD.org) Received: from freefall.freebsd.org (olgeni@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h52IN9Up086406; Mon, 2 Jun 2003 11:23:09 -0700 (PDT) (envelope-from olgeni@freefall.freebsd.org) Received: (from olgeni@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h52IN9OD086405; Mon, 2 Jun 2003 11:23:09 -0700 (PDT) Date: Mon, 2 Jun 2003 11:23:09 -0700 (PDT) From: Jimmy Olgeni Message-Id: <200306021823.h52IN9OD086405@freefall.freebsd.org> To: java@freebsd.org, kaeru@pd.jaring.my Subject: Re: netbeans port and jpda X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 18:23:11 -0000 On Mon, 3 Jun 2003, Khairil Yusof wrote: > Once JDK_HOME is set, then it works without any problems. The port > startup scripts will load netbeans even if this isn't set. This is actually a bug in the port: I tried to use the javavm wrapper to avoid telling netbeans about the JDK home, but clearly this wasn't a very smart move... now it should work fine. > Sorry to be a nuisance. You're welcome :) -- jimmy From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 14:26:32 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61E6637B401 for ; Mon, 2 Jun 2003 14:26:32 -0700 (PDT) Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5EC243F93 for ; Mon, 2 Jun 2003 14:26:29 -0700 (PDT) (envelope-from Ranjith.Mandala@Sun.COM) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h52LQT4Z028583 for ; Mon, 2 Jun 2003 14:26:29 -0700 (PDT) Received: from ranjith (d-usca14-133-175 [129.145.133.175]) ESMTP id h52LQT109910; Mon, 2 Jun 2003 14:26:29 -0700 (PDT) Date: Mon, 2 Jun 2003 14:26:29 -0700 (PDT) Message-ID: <31003492.1054589079605.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: postEmail $Id: PostEmail.java,v 1.17 2002/08/30 02:33:02 gmanwani Exp $ X-IM-Review-ID: 186942 cc: Ranjith.Mandala@Sun.COM Subject: Re: (Review ID: 186942) # HotSpot Virtual Machine Error, Internal Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 21:26:32 -0000 Hi, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of burt@cs.miami.edu. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, RM. ----------------- Original Bug Report------------------- category : hotspot release : 1.4.1 subcategory : runtime_system type : bug synopsis : # HotSpot Virtual Machine Error, Internal Error description : FULL PRODUCT VERSION : [burt@sherman .oz]$ java -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort (core dumped) [burt@sherman .oz]$ FULL OS VERSION : FreeBSD sherman.cs.miami.edu 4.5-RELEASE-p26 FreeBSD 4.5-RELEASE-p26 #1: Sun Mar 30 17:45:29 EST 2003 root@sherman.cs.miami.edu:/usr/obj/usr/src/sys/SHERMAN i386 A DESCRIPTION OF THE PROBLEM : [burt@sherman .oz]$ javac BookCipher.java # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort (core dumped) ERROR MESSAGES/STACK TRACES THAT OCCUR : [burt@sherman .oz]$ javac BookCipher.java # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort (core dumped) REPRODUCIBILITY : This bug can be reproduced always. workaround : suggested_val : cust_name : burton rosenberg cust_email : burt@cs.miami.edu jdcid : keyword : webbug company : university of miami hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2003-06-02 12:41:15.2 dateEvaluated : 2003-06-02 15:23:43.808 From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 16:14:29 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B721737B404 for ; Mon, 2 Jun 2003 16:14:29 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E64443F3F for ; Mon, 2 Jun 2003 16:14:28 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19Mwsy-0003yp-00; Mon, 2 Jun 2003 14:30:32 -0700 Date: Mon, 2 Jun 2003 14:30:27 -0700 (PDT) From: Tom Samplonius To: burt@cs.miami.edu, Ranjith Mandala In-Reply-To: <31003492.1054589079605.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: (Review ID: 186942) # HotSpot Virtual Machine Error, Internal Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 23:14:30 -0000 On Mon, 2 Jun 2003, Ranjith Mandala wrote: > FULL OS VERSION : > FreeBSD sherman.cs.miami.edu 4.5-RELEASE-p26 FreeBSD 4.5-RELEASE-p26 #1: Sun Mar 30 17:45:29 EST 2003 root@sherman.cs.miami.edu:/usr/obj/usr/src/sys/SHERMAN i386 Probably should use 4.8-RELEASE instead, and upgrade the Linux emulator. Tom From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 16:23:06 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FD9137B401; Mon, 2 Jun 2003 16:23:06 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F6B43F93; Mon, 2 Jun 2003 16:23:05 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h52NN3Nc018882; Mon, 2 Jun 2003 19:23:03 -0400 (EDT) Date: Mon, 2 Jun 2003 19:23:03 -0400 (EDT) From: Daniel Eischen To: Tom Samplonius In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 23:23:06 -0000 On Mon, 2 Jun 2003, Tom Samplonius wrote: > ... > > And I encourage the java developers to let us threads guys know > > what they're having problems with. It has been stated that > > jdk is not guaranteed to work with anything but libc_r, so > > contact us over at threads@. We want to see a fast and stable > > jdk as much as anyone else does. > > > > -- > > Dan Eischen > > > But the last that I've seen on the threads@ list is that libkse's signal > handling is not finished, and both libthr and libkse have incomplete SMP > support. I've been waiting to hear whether one of these has reached a > "finished" state, in order that a test build of jdk on FreeBSD 5 is not a > total waste... SMP libkse support should be complete. We are working on signal handling now, but it's fudged to mostly work. Mozilla, KDE, and openoffice all run with libkse. -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Mon Jun 2 22:02:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BD5D37B401; Mon, 2 Jun 2003 22:02:16 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B51743F93; Mon, 2 Jun 2003 22:02:14 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19N2KL-0000m9-00; Mon, 2 Jun 2003 20:19:09 -0700 Date: Mon, 2 Jun 2003 20:19:08 -0700 (PDT) From: Tom Samplonius To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 05:02:17 -0000 On Mon, 2 Jun 2003, Daniel Eischen wrote: > On Mon, 2 Jun 2003, Tom Samplonius wrote: > > ... > > > And I encourage the java developers to let us threads guys know > > > what they're having problems with. It has been stated that > > > jdk is not guaranteed to work with anything but libc_r, so > > > contact us over at threads@. We want to see a fast and stable > > > jdk as much as anyone else does. > > > > > > -- > > > Dan Eischen > > > > > > But the last that I've seen on the threads@ list is that libkse's signal > > handling is not finished, and both libthr and libkse have incomplete SMP > > support. I've been waiting to hear whether one of these has reached a > > "finished" state, in order that a test build of jdk on FreeBSD 5 is not a > > total waste... > > SMP libkse support should be complete. We are working on signal > handling now, but it's fudged to mostly work. Mozilla, KDE, > and openoffice all run with libkse. Does "fudged" mean that the issue MySQL not exiting has also been resolved? That seems like something that would break a java application real fast. Also at what point was support completed? I'm not sure if I need to cvsup again. I last cvsupped -current on May 31st. Would that be the latest and greatest libkse? > -- > Dan Eischen Tom From owner-freebsd-java@FreeBSD.ORG Tue Jun 3 02:48:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1AFA37B401; Tue, 3 Jun 2003 02:48:18 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB33443F93; Tue, 3 Jun 2003 02:48:17 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h539mFNc013617; Tue, 3 Jun 2003 05:48:15 -0400 (EDT) Date: Tue, 3 Jun 2003 05:48:15 -0400 (EDT) From: Daniel Eischen To: Tom Samplonius In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 09:48:19 -0000 On Mon, 2 Jun 2003, Tom Samplonius wrote: > > On Mon, 2 Jun 2003, Daniel Eischen wrote: > > > On Mon, 2 Jun 2003, Tom Samplonius wrote: > > > ... > > > > And I encourage the java developers to let us threads guys know > > > > what they're having problems with. It has been stated that > > > > jdk is not guaranteed to work with anything but libc_r, so > > > > contact us over at threads@. We want to see a fast and stable > > > > jdk as much as anyone else does. > > > > > > > > -- > > > > Dan Eischen > > > > > > > > > But the last that I've seen on the threads@ list is that libkse's signal > > > handling is not finished, and both libthr and libkse have incomplete SMP > > > support. I've been waiting to hear whether one of these has reached a > > > "finished" state, in order that a test build of jdk on FreeBSD 5 is not a > > > total waste... > > > > SMP libkse support should be complete. We are working on signal > > handling now, but it's fudged to mostly work. Mozilla, KDE, > > and openoffice all run with libkse. > > Does "fudged" mean that the issue MySQL not exiting has also been > resolved? That seems like something that would break a java application > real fast. I believe mysql relies on SIGHUP or a fork to handle signals. Mysql may actually work now, but I haven't tried it. I don't think the JDK relies on signals other than synchronous signals which should work OK with libkse. I was more interested in the statement that "jdk is only guaranteed to work with libc_r" that one of the Java developers posted. I took it to mean that the implementation of our jdk is geared towards libc_r (perhaps knowing internal stuff about how libc_r works). I don't want anything like that to stop us, and we can add some common APIs to the threads libraries if needed to support it. > Also at what point was support completed? I'm not sure if I need to > cvsup again. I last cvsupped -current on May 31st. Would that be the > latest and greatest libkse? That should be good. -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Tue Jun 3 09:20:40 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5325337B404; Tue, 3 Jun 2003 09:20:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5E6B43F3F; Tue, 3 Jun 2003 09:20:39 -0700 (PDT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h53GKdUp039792; Tue, 3 Jun 2003 09:20:39 -0700 (PDT) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h53GKd2F039788; Tue, 3 Jun 2003 09:20:39 -0700 (PDT) Date: Tue, 3 Jun 2003 09:20:39 -0700 (PDT) From: Greg Lewis Message-Id: <200306031620.h53GKd2F039788@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Subject: Re: java/46269: ports/java: jdk 1.3.1 p7 fails to build with gcc optimization for k6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 16:20:40 -0000 Synopsis: ports/java: jdk 1.3.1 p7 fails to build with gcc optimization for k6 Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Jun 3 09:20:07 PDT 2003 Responsible-Changed-Why: Over to maintainer (aka me). http://www.freebsd.org/cgi/query-pr.cgi?pr=46269 From owner-freebsd-java@FreeBSD.ORG Tue Jun 3 09:32:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E3C537B401; Tue, 3 Jun 2003 09:32:56 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D705543FBD; Tue, 3 Jun 2003 09:32:54 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19ND6f-0000qM-00; Tue, 3 Jun 2003 07:49:45 -0700 Date: Tue, 3 Jun 2003 07:49:41 -0700 (PDT) From: Tom Samplonius To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 16:32:57 -0000 On Tue, 3 Jun 2003, Daniel Eischen wrote: ... > I was more interested in the statement that "jdk is only guaranteed > to work with libc_r" that one of the Java developers posted. I > took it to mean that the implementation of our jdk is geared > towards libc_r (perhaps knowing internal stuff about how libc_r > works). I don't want anything like that to stop us, and we > can add some common APIs to the threads libraries if needed > to support it. I don't think jdk uses any libc_r internals. I believe it is just that jdk1.4.1 is a very large and very complex application, and the jdk developers don't want to have to track libkse/libthr issues when jdk1.4.1 is still beta and requires plenty more work. I know the Java developers are trying to get jdk1.4.1 to the point it can pass Sun's TCK, so it can be distributed as a binary. > -- > Dan Eischen Tom From owner-freebsd-java@FreeBSD.ORG Tue Jun 3 10:53:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E02E37B404; Tue, 3 Jun 2003 10:53:51 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 881C843F85; Tue, 3 Jun 2003 10:53:49 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by attbi.com (sccrmhc02) with ESMTP id <2003060317534700200aei15e>; Tue, 3 Jun 2003 17:53:48 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA93298; Tue, 3 Jun 2003 10:53:46 -0700 (PDT) Date: Tue, 3 Jun 2003 10:53:44 -0700 (PDT) From: Julian Elischer To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 17:53:52 -0000 On Tue, 3 Jun 2003, Daniel Eischen wrote: > On Mon, 2 Jun 2003, Tom Samplonius wrote: > > > > > On Mon, 2 Jun 2003, Daniel Eischen wrote: > > > > > On Mon, 2 Jun 2003, Tom Samplonius wrote: > > > > ... > > > > > And I encourage the java developers to let us threads guys know > > > > > what they're having problems with. It has been stated that > > > > > jdk is not guaranteed to work with anything but libc_r, so > > > > > contact us over at threads@. We want to see a fast and stable > > > > > jdk as much as anyone else does. > > > > > > > > > > -- > > > > > Dan Eischen > > > > > > > > > > > > But the last that I've seen on the threads@ list is that libkse's signal > > > > handling is not finished, and both libthr and libkse have incomplete SMP > > > > support. I've been waiting to hear whether one of these has reached a > > > > "finished" state, in order that a test build of jdk on FreeBSD 5 is not a > > > > total waste... > > > > > > SMP libkse support should be complete. We are working on signal > > > handling now, but it's fudged to mostly work. Mozilla, KDE, > > > and openoffice all run with libkse. > > > > Does "fudged" mean that the issue MySQL not exiting has also been > > resolved? That seems like something that would break a java application > > real fast. > > I believe mysql relies on SIGHUP or a fork to handle signals. Mysql > may actually work now, but I haven't tried it. I don't think the JDK > relies on signals other than synchronous signals which should work > OK with libkse. > > I was more interested in the statement that "jdk is only guaranteed > to work with libc_r" that one of the Java developers posted. I > took it to mean that the implementation of our jdk is geared > towards libc_r (perhaps knowing internal stuff about how libc_r > works). I don't want anything like that to stop us, and we > can add some common APIs to the threads libraries if needed > to support it. > > > Also at what point was support completed? I'm not sure if I need to > > cvsup again. I last cvsupped -current on May 31st. Would that be the > > latest and greatest libkse? > > That should be good. A panic fix was checked in yesterday that should be included, so today's is a better bet.. > > -- > Dan Eischen > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Tue Jun 3 23:31:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9CDD37B401 for ; Tue, 3 Jun 2003 23:31:26 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A5F43FA3 for ; Tue, 3 Jun 2003 23:31:25 -0700 (PDT) (envelope-from antony.t.curtis@ntlworld.com) Received: from pcgem.rdg.cyberkinetica.com ([81.98.110.96]) by mta05-svc.ntlworld.comESMTP <20030604063124.JQBC16933.mta05-svc.ntlworld.com@pcgem.rdg.cyberkinetica.com> for ; Wed, 4 Jun 2003 07:31:24 +0100 From: Antony T Curtis To: freebsd-java@FreeBSD.ORG Date: Wed, 4 Jun 2003 07:31:22 +0100 User-Agent: KMail/1.5.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200306040731.23132.antony.t.curtis@ntlworld.com> Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 06:31:27 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 03 June 2003 3:49 pm, Tom Samplonius wrote: > On Tue, 3 Jun 2003, Daniel Eischen wrote: > > ... > > > I was more interested in the statement that "jdk is only guaranteed > > to work with libc_r" that one of the Java developers posted. I > > took it to mean that the implementation of our jdk is geared > > towards libc_r (perhaps knowing internal stuff about how libc_r > > works). I don't want anything like that to stop us, and we > > can add some common APIs to the threads libraries if needed > > to support it. > > I don't think jdk uses any libc_r internals. I believe it is just that > jdk1.4.1 is a very large and very complex application, and the jdk > developers don't want to have to track libkse/libthr issues when jdk1.4.1 > is still beta and requires plenty more work. I know the Java developers > are trying to get jdk1.4.1 to the point it can pass Sun's TCK, so it can > be distributed as a binary. AFAIK, jdk1.3.1 still uses some libc_r internals unless the patch I sent to= =20 this list and Munehiro Matsuda did more work on is applied. =2D --=20 Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+3ZI7ql7dp2cddmIRAtwLAKDC+6BOuVmdNCD9TsxSldGEuJrz2QCgkDnA K0vmYwrAg1gOKbxIl1gzD14=3D =3DD143 =2D----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Jun 4 10:17:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CC5037B401 for ; Wed, 4 Jun 2003 10:17:17 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB7EE43FAF for ; Wed, 4 Jun 2003 10:17:16 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 19Nbsy-000762-04 for freebsd-java@freebsd.org; Wed, 04 Jun 2003 11:17:16 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 19Nbsw-00075q-04 for freebsd-java@freebsd.org; Wed, 04 Jun 2003 11:17:15 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h54HMeBM025221 for ; Wed, 4 Jun 2003 11:22:40 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h54HMc1s025220 for freebsd-java@freebsd.org; Wed, 4 Jun 2003 11:22:38 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 4 Jun 2003 11:22:38 -0600 From: Greg Lewis To: freebsd-java@freebsd.org Message-ID: <20030604172238.GA25212@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-5.8 required=8.0 tests=BAYES_20,USER_AGENT_MUTT,X_AUTH_WARNING autolearn=ham version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) Subject: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 17:17:17 -0000 Hi all, I've started placing more frequent "experimental" patchsets up for download. The aim is to let people get at features and test them earlier without the load of doing a full patchset release. It should also make it easier for people to contribute without CVS access. However, as these patchsets haven't been through a release cycle they aren't guaranteed to work, the documentation is a little rough, etc. They also aren't going to be supported in the ports system and you're expected to be able to build things yourself. Bug reports are, of course, welcome. At the moment these patchsets are being built for 1.3.1 and 1.4.1 (1.2.2 to follow soon). I expect to put these up weekly. For your edification, these patchsets should contain the following major features in comparison to the current release: 1.3.1: . OpenBSD support. . HotSpot builds (on FreeBSD) with the 4.x system compiler. 1.4.1: . Browser plugin support. . NetBSD support. Please see the ChangeLog files for the details of who contributed these features. -- 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 Wed Jun 4 16:09:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EBA537B401 for ; Wed, 4 Jun 2003 16:09:02 -0700 (PDT) Received: from mta01.mail.mel.aone.net.au (mta01.mail.au.uu.net [203.2.192.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FE0643F85 for ; Wed, 4 Jun 2003 16:09:01 -0700 (PDT) (envelope-from jshevland@ozemail.com.au) Received: from blackhawk.ozemail.com.au ([63.60.247.177]) by mta01.mail.mel.aone.net.au with ESMTP <20030604230853.ZXTM19061.mta01.mail.mel.aone.net.au@blackhawk.ozemail.com.au>; Thu, 5 Jun 2003 09:08:53 +1000 Message-Id: <5.2.1.1.0.20030605085549.00b1eb28@mail.ozemail.com.au> X-Sender: jshevland@ozemail.com.au@mail.ozemail.com.au X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 05 Jun 2003 09:08:46 +1000 To: Greg Lewis , freebsd-java@freebsd.org From: Joe Shevland In-Reply-To: <20030604172238.GA25212@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 23:09:02 -0000 Hi Greg, Sounds excellent, I'll gladly test any patches out. I'm being stung at the moment by SSL issues... I haven't managed to get any of the JDK's to behave with my application under 4.8-STABLE, it uses the JSSE libraries for secure RMI and standard TCP/IP comms. The server's listening sockets are established OK (for the native JDK), its around the time of the client connections that things go awry. The Linux JDK's (1.3 and 1.4) barf when establishing the listening sockets, the error vaguely resembles '/dev/random reached end of file', whilst the native 1.4.1 goes into a 100% CPU spin when a client connects - this is not always reproducible at first try, though a few client connections will generally display the problem. Sorry there's very little details there; if anyone is interested, I'll attach the error messages and stack traces for the different JDK's, as well as a test case to reproduce the bug. I'd prefer to help with fixing the native one, so any pointers to how to make the process dump core, break into debug mode etc would be greatly appreciated. Regards, Joe At 5/06/2003 03:22 AM, Greg Lewis wrote: >Hi all, > >I've started placing more frequent "experimental" patchsets up for download. >The aim is to let people get at features and test them earlier without the >load of doing a full patchset release. It should also make it easier for >people to contribute without CVS access. However, as these patchsets >haven't been through a release cycle they aren't guaranteed to work, the >documentation is a little rough, etc. They also aren't going to be >supported in the ports system and you're expected to be able to build >things yourself. Bug reports are, of course, welcome. > >At the moment these patchsets are being built for 1.3.1 and 1.4.1 (1.2.2 >to follow soon). I expect to put these up weekly. > >For your edification, these patchsets should contain the following major >features in comparison to the current release: > >1.3.1: > . OpenBSD support. > . HotSpot builds (on FreeBSD) with the 4.x system compiler. > >1.4.1: > . Browser plugin support. > . NetBSD support. > >Please see the ChangeLog files for the details of who contributed these >features. > >-- >Greg Lewis Email : glewis@eyesbeyond.com >Eyes Beyond Web : http://www.eyesbeyond.com >Information Technology FreeBSD : glewis@FreeBSD.org > >_______________________________________________ >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 Wed Jun 4 16:34:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB8C437B401 for ; Wed, 4 Jun 2003 16:34:55 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7185843F93 for ; Wed, 4 Jun 2003 16:34:54 -0700 (PDT) (envelope-from antony.t.curtis@ntlworld.com) Received: from pcgem.rdg.cyberkinetica.com ([81.98.110.96]) by mta05-svc.ntlworld.comESMTP <20030604233452.YNZJ16933.mta05-svc.ntlworld.com@pcgem.rdg.cyberkinetica.com> for ; Thu, 5 Jun 2003 00:34:52 +0100 From: Antony T Curtis To: freebsd-java@FreeBSD.ORG Date: Thu, 5 Jun 2003 00:34:52 +0100 User-Agent: KMail/1.5.1 References: <20030604172238.GA25212@misty.eyesbeyond.com> In-Reply-To: <20030604172238.GA25212@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200306050034.52249.antony.t.curtis@ntlworld.com> Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 23:34:56 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 04 June 2003 6:22 pm, Greg Lewis wrote: > For your edification, these patchsets should contain the following major > features in comparison to the current release: > > 1.3.1: > . OpenBSD support. > . HotSpot builds (on FreeBSD) with the 4.x system compiler. Don't forget the lib/ext bug which would prevent things like the jsse=20 extensions from loading and thus applets which need ssl would fail. I am able to use konq with jdk1.3 to access my online banking with it :) > 1.4.1: > . Browser plugin support. > . NetBSD support. I did have some patches for nio non-blocking sockets - kinda misplaced them= =2E.. > Please see the ChangeLog files for the details of who contributed these > features. Isn't it nice to have one's name in lights! Whoot whoot! Even though I didn't do the real hard work... =2D --=20 Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+3oIcql7dp2cddmIRAk2gAKCX3BcoDjqOHRn58g2Nk0M04w+lZwCdFVGI 9xV7xnvxwlJlxUOgjyGZcj8=3D =3DrOvB =2D----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Jun 4 19:10:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9887937B401 for ; Wed, 4 Jun 2003 19:10:02 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00B543FA3 for ; Wed, 4 Jun 2003 19:10:01 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu88-246-041.nc.rr.com [24.88.246.41]) h5524Z5J028500 for ; Wed, 4 Jun 2003 22:04:35 -0400 (EDT) Sender: mmercer@ms-smtp-01.southeast.rr.com Message-ID: <3EDEA678.D6EDF17D@nc.rr.com> Date: Wed, 04 Jun 2003 22:10:00 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "'FreeBSD Java mailing list'" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: UnsatisfiedLinkError running nio example code NBTimeServer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 02:10:02 -0000 Hello, > uname -a FreeBSD 4.8-STABLE FreeBSD 4.8-STABLE #1: Sat May 31 21:15:33 EDT 2003 i386 > java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-mmercer_13_may_2003_19_57) Java HotSpot(TM) Client VM (build 1.4.1-p3-mmercer_13_may_2003_19_57, mixed mode) When I compiled the example code below and tried to run it, I get the following error... > java NBTimeServer Exception in thread "main" java.lang.UnsatisfiedLinkError: init at sun.nio.ch.DevPollArrayWrapper.init(Native Method) at sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) at sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) at sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java:18) at NBTimeServer.acceptConnections(NBTimeServer.java:67) at NBTimeServer.(NBTimeServer.java:56) at NBTimeServer.main(NBTimeServer.java:120) > cat NBTimeServer.java /* * @(#)NBTimeServer.java 1.4 01/12/13 * A non blocking Internet time server implemented using * the New I/O (NIO) facilities added to J2SE v 1.4. * * Copyright 2001-2002 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * -Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * -Redistribution in binary form must reproduct the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * Neither the name of Sun Microsystems, Inc. or the names of * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * This software is provided "AS IS," without a warranty of any * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. * * You acknowledge that Software is not designed, licensed or * intended for use in the design, construction, operation or * maintenance of any nuclear facility. */ import java.io.*; import java.nio.*; import java.nio.channels.*; import java.nio.channels.spi.*; import java.net.*; import java.util.*; // Listen on a port for connections and write back the current time. public class NBTimeServer { private static final int DEFAULT_TIME_PORT = 8900; // Constructor with no arguments creates a time server on default port. public NBTimeServer() throws Exception { acceptConnections(this.DEFAULT_TIME_PORT); } // Constructor with port argument creates a time server on specified port. public NBTimeServer(int port) throws Exception { acceptConnections(port); } // Accept connections for current time. Lazy Exception thrown. private static void acceptConnections(int port) throws Exception { // Selector for incoming time requests Selector acceptSelector = SelectorProvider.provider().openSelector(); // Create a new server socket and set to non blocking mode ServerSocketChannel ssc = ServerSocketChannel.open(); ssc.configureBlocking(false); // Bind the server socket to the local host and port InetAddress lh = InetAddress.getLocalHost(); InetSocketAddress isa = new InetSocketAddress(lh, port); ssc.socket().bind(isa); // Register accepts on the server socket with the selector. This // step tells the selector that the socket wants to be put on the // ready list when accept operations occur, so allowing multiplexed // non-blocking I/O to take place. SelectionKey acceptKey = ssc.register(acceptSelector, SelectionKey.OP_ACCEPT); int keysAdded = 0; // Here's where everything happens. The select method will // return when any operations registered above have occurred, the // thread has been interrupted, etc. while ((keysAdded = acceptSelector.select()) > 0) { // Someone is ready for I/O, get the ready keys Set readyKeys = acceptSelector.selectedKeys(); Iterator i = readyKeys.iterator(); // Walk through the ready keys collection and process date requests. while (i.hasNext()) { SelectionKey sk = (SelectionKey)i.next(); i.remove(); // The key indexes into the selector so you // can retrieve the socket that's ready for I/O ServerSocketChannel nextReady = (ServerSocketChannel)sk.channel(); // Accept the date request and send back the date string Socket s = nextReady.accept().socket(); // Write the current time to the socket PrintWriter out = new PrintWriter(s.getOutputStream(), true); Date now = new Date(); out.println(now); out.close(); } } } // Entry point. public static void main(String[] args) { // Parse command line arguments and // create a new time server (no arguments yet) try { NBTimeServer nbt = new NBTimeServer(); } catch(Exception e) { e.printStackTrace(); } } } From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 00:24:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C42537B401 for ; Thu, 5 Jun 2003 00:24:37 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05DF643F75 for ; Thu, 5 Jun 2003 00:24:33 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h55AP3U6069984; Thu, 5 Jun 2003 10:25:04 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h557VZC3060052; Thu, 5 Jun 2003 10:31:35 +0300 (EEST) (envelope-from ml) Date: Thu, 5 Jun 2003 10:31:35 +0300 From: Alexey Zelkin To: Michael E Mercer Message-ID: <20030605103135.A60018@phantom.cris.net> References: <3EDEA678.D6EDF17D@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3EDEA678.D6EDF17D@nc.rr.com>; from mmercer@nc.rr.com on Wed, Jun 04, 2003 at 10:10:00PM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: 'FreeBSD Java mailing list' Subject: Re: UnsatisfiedLinkError running nio example code NBTimeServer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 07:24:37 -0000 hi, Unfortunatelly sun.nio.ch.DevPollArrayWrapper is Solaris' onlu thingy and not implemented for both linux and bsd. I'll take a look. Thanks for notice! On Wed, Jun 04, 2003 at 10:10:00PM -0400, Michael E Mercer wrote: > Hello, > > > uname -a > FreeBSD 4.8-STABLE FreeBSD 4.8-STABLE #1: Sat May 31 21:15:33 EDT 2003 i386 > > > java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.1-p3-mmercer_13_may_2003_19_57) > Java HotSpot(TM) Client VM (build 1.4.1-p3-mmercer_13_may_2003_19_57, mixed > mode) > > > When I compiled the example code below and tried to run it, I get the following > error... > > > java NBTimeServer > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > at sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > at sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > at > sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java:18) > > at NBTimeServer.acceptConnections(NBTimeServer.java:67) > at NBTimeServer.(NBTimeServer.java:56) > at NBTimeServer.main(NBTimeServer.java:120) > > > cat NBTimeServer.java > /* > * @(#)NBTimeServer.java 1.4 01/12/13 > * A non blocking Internet time server implemented using > * the New I/O (NIO) facilities added to J2SE v 1.4. > * > * Copyright 2001-2002 Sun Microsystems, Inc. All Rights Reserved. > * > * Redistribution and use in source and binary forms, with or > * without modification, are permitted provided that the following > * conditions are met: > * > * -Redistributions of source code must retain the above copyright > * notice, this list of conditions and the following disclaimer. > * > * -Redistribution in binary form must reproduct the above copyright > * notice, this list of conditions and the following disclaimer in > * the documentation and/or other materials provided with the > * distribution. > * > * Neither the name of Sun Microsystems, Inc. or the names of > * contributors may be used to endorse or promote products derived > * from this software without specific prior written permission. > * > * This software is provided "AS IS," without a warranty of any > * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND > * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, > * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY > * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY > * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR > * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR > * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE > * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, > * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER > * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF > * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN > * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. > * > * You acknowledge that Software is not designed, licensed or > * intended for use in the design, construction, operation or > * maintenance of any nuclear facility. > */ > > import java.io.*; > import java.nio.*; > import java.nio.channels.*; > import java.nio.channels.spi.*; > import java.net.*; > import java.util.*; > > // Listen on a port for connections and write back the current time. > public class NBTimeServer { > private static final int DEFAULT_TIME_PORT = 8900; > > // Constructor with no arguments creates a time server on default port. > public NBTimeServer() throws Exception { > acceptConnections(this.DEFAULT_TIME_PORT); > } > > // Constructor with port argument creates a time server on specified port. > public NBTimeServer(int port) throws Exception { > acceptConnections(port); > } > > // Accept connections for current time. Lazy Exception thrown. > private static void acceptConnections(int port) throws Exception { > // Selector for incoming time requests > Selector acceptSelector = SelectorProvider.provider().openSelector(); > > // Create a new server socket and set to non blocking mode > ServerSocketChannel ssc = ServerSocketChannel.open(); > ssc.configureBlocking(false); > > // Bind the server socket to the local host and port > > InetAddress lh = InetAddress.getLocalHost(); > InetSocketAddress isa = new InetSocketAddress(lh, port); > ssc.socket().bind(isa); > > // Register accepts on the server socket with the selector. This > // step tells the selector that the socket wants to be put on the > // ready list when accept operations occur, so allowing multiplexed > // non-blocking I/O to take place. > SelectionKey acceptKey = ssc.register(acceptSelector, > SelectionKey.OP_ACCEPT); > > int keysAdded = 0; > > // Here's where everything happens. The select method will > // return when any operations registered above have occurred, the > // thread has been interrupted, etc. > while ((keysAdded = acceptSelector.select()) > 0) { > // Someone is ready for I/O, get the ready keys > Set readyKeys = acceptSelector.selectedKeys(); > Iterator i = readyKeys.iterator(); > > // Walk through the ready keys collection and process date requests. > > while (i.hasNext()) { > SelectionKey sk = (SelectionKey)i.next(); > i.remove(); > // The key indexes into the selector so you > // can retrieve the socket that's ready for I/O > ServerSocketChannel nextReady = > (ServerSocketChannel)sk.channel(); > // Accept the date request and send back the date string > Socket s = nextReady.accept().socket(); > // Write the current time to the socket > PrintWriter out = new PrintWriter(s.getOutputStream(), true); > Date now = new Date(); > out.println(now); > out.close(); > } > } > } > > // Entry point. > public static void main(String[] args) { > // Parse command line arguments and > // create a new time server (no arguments yet) > try { > NBTimeServer nbt = new NBTimeServer(); > } catch(Exception e) { > e.printStackTrace(); > } > } > } > > > _______________________________________________ > 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 Thu Jun 5 00:55:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C858337B401 for ; Thu, 5 Jun 2003 00:55:07 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 622E143FB1 for ; Thu, 5 Jun 2003 00:55:02 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.9/8.12.9) with ESMTP id h556ZH4G054970; Thu, 5 Jun 2003 08:35:17 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.9/8.12.9/Submit) id h556ZGqE054969; Thu, 5 Jun 2003 08:35:16 +0200 (CEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Greg Lewis , freebsd-java@freebsd.org Date: Thu, 5 Jun 2003 08:35:15 +0200 User-Agent: KMail/1.5.1 References: <20030604172238.GA25212@misty.eyesbeyond.com> In-Reply-To: <20030604172238.GA25212@misty.eyesbeyond.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306050835.15998.ernst.dehaan@nl.wanadoo.com> Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 07:55:08 -0000 Greg, What about creating -devel ports, like java/jdk13-devel ? Ernst On Wednesday 04 June 2003 19:22, Greg Lewis wrote: > Hi all, > > I've started placing more frequent "experimental" patchsets up for > download. The aim is to let people get at features and test them earlier > without the load of doing a full patchset release. It should also make > it easier for people to contribute without CVS access. However, as these > patchsets haven't been through a release cycle they aren't guaranteed to > work, the documentation is a little rough, etc. They also aren't going > to be supported in the ports system and you're expected to be able to > build things yourself. Bug reports are, of course, welcome. > > At the moment these patchsets are being built for 1.3.1 and 1.4.1 (1.2.2 > to follow soon). I expect to put these up weekly. > > For your edification, these patchsets should contain the following major > features in comparison to the current release: > > 1.3.1: > . OpenBSD support. > . HotSpot builds (on FreeBSD) with the 4.x system compiler. > > 1.4.1: > . Browser plugin support. > . NetBSD support. > > Please see the ChangeLog files for the details of who contributed these > features. From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 01:37:43 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E8F037B401 for ; Thu, 5 Jun 2003 01:37:43 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC5F943F75 for ; Thu, 5 Jun 2003 01:37:39 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h55BcBU6075629; Thu, 5 Jun 2003 11:38:12 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h558iiAU060404; Thu, 5 Jun 2003 11:44:44 +0300 (EEST) (envelope-from ml) Date: Thu, 5 Jun 2003 11:44:44 +0300 From: Alexey Zelkin To: Ernst de Haan Message-ID: <20030605114444.A60385@phantom.cris.net> References: <20030604172238.GA25212@misty.eyesbeyond.com> <200306050835.15998.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200306050835.15998.ernst.dehaan@nl.wanadoo.com>; from ernst.dehaan@nl.wanadoo.com on Thu, Jun 05, 2003 at 08:35:15AM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: Greg Lewis cc: freebsd-java@freebsd.org Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 08:37:43 -0000 hi, Can't say anything for jdk13, but it's bad idea for jdk14. At least now. Those who'll be able to build jdk14 from patchset and wanna try it should expect problems and be ready for them. On Thu, Jun 05, 2003 at 08:35:15AM +0200, Ernst de Haan wrote: > Greg, > > What about creating -devel ports, like java/jdk13-devel ? > > Ernst > > > On Wednesday 04 June 2003 19:22, Greg Lewis wrote: > > Hi all, > > > > I've started placing more frequent "experimental" patchsets up for > > download. The aim is to let people get at features and test them earlier > > without the load of doing a full patchset release. It should also make > > it easier for people to contribute without CVS access. However, as these > > patchsets haven't been through a release cycle they aren't guaranteed to > > work, the documentation is a little rough, etc. They also aren't going > > to be supported in the ports system and you're expected to be able to > > build things yourself. Bug reports are, of course, welcome. > > > > At the moment these patchsets are being built for 1.3.1 and 1.4.1 (1.2.2 > > to follow soon). I expect to put these up weekly. > > > > For your edification, these patchsets should contain the following major > > features in comparison to the current release: > > > > 1.3.1: > > . OpenBSD support. > > . HotSpot builds (on FreeBSD) with the 4.x system compiler. > > > > 1.4.1: > > . Browser plugin support. > > . NetBSD support. > > > > Please see the ChangeLog files for the details of who contributed these > > features. > _______________________________________________ > 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 Thu Jun 5 01:45:23 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64CA337B401; Thu, 5 Jun 2003 01:45:23 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BADF43F75; Thu, 5 Jun 2003 01:45:20 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h55BjrU6076197; Thu, 5 Jun 2003 11:45:53 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h558qM5I060453; Thu, 5 Jun 2003 11:52:22 +0300 (EEST) (envelope-from ml) Date: Thu, 5 Jun 2003 11:52:22 +0300 From: Alexey Zelkin To: Daniel Eischen Message-ID: <20030605115222.B60385@phantom.cris.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@pcnet.com on Tue, Jun 03, 2003 at 05:48:15AM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-threads@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 08:45:23 -0000 hi, On Tue, Jun 03, 2003 at 05:48:15AM -0400, Daniel Eischen wrote: > I was more interested in the statement that "jdk is only guaranteed > to work with libc_r" that one of the Java developers posted. I It only means that I can guarantee correctly working product in environment there're it was tested (i.e. at user threads only level). Don't get me wrong -- I'll be happy to try libthr and libpthread as soon as I'll be able to do it. Local problems here prevents me from complete cvsup right now :-( Also I have to make complete pass of TCK tests (at least VM tests -- more than 8000 testsets) before saying anything. > took it to mean that the implementation of our jdk is geared > towards libc_r (perhaps knowing internal stuff about how libc_r > works). I don't want anything like that to stop us, and we > can add some common APIs to the threads libraries if needed > to support it. I have spent a lot of time to get rid libc_r internals usage in jdk14. pthread_attr_get_np() was a conclusion and allowed me to switch from API to ABI compat mode. From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 02:32:32 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE86B37B401 for ; Thu, 5 Jun 2003 02:32:32 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EC4043FBF for ; Thu, 5 Jun 2003 02:32:31 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19Nr6H-0002Ou-1P; Thu, 05 Jun 2003 11:32:01 +0200 Date: Thu, 5 Jun 2003 11:32:01 +0200 From: Sheldon Hearn To: Alexey Zelkin Message-ID: <20030605093201.GE9038@starjuice.net> Mail-Followup-To: Alexey Zelkin , Ernst de Haan , Greg Lewis , freebsd-java@freebsd.org References: <20030604172238.GA25212@misty.eyesbeyond.com> <200306050835.15998.ernst.dehaan@nl.wanadoo.com> <20030605114444.A60385@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030605114444.A60385@phantom.cris.net> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: Ernst de Haan cc: Greg Lewis cc: freebsd-java@freebsd.org Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 09:32:33 -0000 On (2003/06/05 11:44), Alexey Zelkin wrote: > Can't say anything for jdk13, but it's bad idea for jdk14. At least now. > > Those who'll be able to build jdk14 from patchset and wanna try it > should expect problems and be ready for them. But those who are able to build jdk14 from a port marked -devel should also expect problems and be ready for them. :-) Seriously, I don't see how increased exposure could hurt. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 07:48:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34AE37B401 for ; Thu, 5 Jun 2003 07:48:56 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31EB343F85 for ; Thu, 5 Jun 2003 07:48:56 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 19Nw2x-000448-01 for freebsd-java@freebsd.org; Thu, 05 Jun 2003 08:48:55 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 19Nw2R-0003nw-01; Thu, 05 Jun 2003 08:48:24 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h55EroBM061329; Thu, 5 Jun 2003 08:53:51 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h55Erlho061328; Thu, 5 Jun 2003 08:53:47 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 5 Jun 2003 08:53:47 -0600 From: Greg Lewis To: Alexey Zelkin Message-ID: <20030605145347.GA61297@misty.eyesbeyond.com> References: <3EDEA678.D6EDF17D@nc.rr.com> <20030605103135.A60018@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030605103135.A60018@phantom.cris.net> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: 'FreeBSD Java mailing list' Subject: Re: UnsatisfiedLinkError running nio example code NBTimeServer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 14:48:57 -0000 On Thu, Jun 05, 2003 at 10:31:35AM +0300, Alexey Zelkin wrote: > hi, > > Unfortunatelly sun.nio.ch.DevPollArrayWrapper is Solaris' onlu thingy > and not implemented for both linux and bsd. I'll take a look. > > Thanks for notice! Actually, it is implemented on Linux (I have a program we use at work which runs under Linux but produces the same error Michael gets under FreeBSD). -- 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 Thu Jun 5 07:50:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9F9D37B401 for ; Thu, 5 Jun 2003 07:50:24 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC0543FBD for ; Thu, 5 Jun 2003 07:50:19 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.9/8.12.9) with ESMTP id h55EoV4G057032 for ; Thu, 5 Jun 2003 16:50:31 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.9/8.12.9/Submit) id h55EoUg3057031 for java@FreeBSD.org; Thu, 5 Jun 2003 16:50:30 +0200 (CEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. Date: Thu, 5 Jun 2003 16:50:30 +0200 User-Agent: KMail/1.5.1 To: java@FreeBSD.org X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306051650.30751.ernst.dehaan@nl.wanadoo.com> Subject: Fwd: Re: 5.1-RELEASE TODO X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 14:50:25 -0000 Sh/could we put anything on the list for JDK 1.3/1.4 for 5.2-RELEASE? Ernst ---------- Forwarded Message ---------- Subject: Re: 5.1-RELEASE TODO Date: Thursday 05 June 2003 15:30 From: Robert Watson To: re@FreeBSD.org Cc: current@FreeBSD.org On Thu, 5 Jun 2003, Robert Watson wrote: > This is an automated bi-daily mailing of the FreeBSD 5.1 open issues > list. The live version of this list is available at: Well, we won't be needing *that* anymore :-). Expect the 5.2 TODO to trickle in every few weeks for the next few months, and feel free to submit updates to the TODO list to re@. I should say, of course, that the primary goals for 5.2 are not new software features (although those will happen too), but improved performance, robustness, and usability across all of our platforms, so don't submit too many feature TODO items that will distract people from making that happen :-). I think I speak for everyone when I say I'm on the edge of my seat for RELENG_5 being branched--5.x has been a long time coming, but it's going to be well worth it. Thanks again to everyone who made the 5.1 release process happen, especially to those who spent the last couple of weeks chasing down obscure and difficult bugs (the ones that make such a difference); and to those who made the push to make libthr and libkse so much more functional. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories ------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 08:01:15 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 947B037B401 for ; Thu, 5 Jun 2003 08:01:15 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AF2A43FEC for ; Thu, 5 Jun 2003 08:00:34 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 19NwED-0004sT-02 for freebsd-java@freebsd.org; Thu, 05 Jun 2003 09:00:33 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 19NwDv-0004jb-02; Thu, 05 Jun 2003 09:00:16 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h55F5hBM061409; Thu, 5 Jun 2003 09:05:43 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h55F5esi061408; Thu, 5 Jun 2003 09:05:40 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 5 Jun 2003 09:05:40 -0600 From: Greg Lewis To: Alexey Zelkin , Ernst de Haan , freebsd-java@freebsd.org Message-ID: <20030605150540.GB61297@misty.eyesbeyond.com> References: <20030604172238.GA25212@misty.eyesbeyond.com> <200306050835.15998.ernst.dehaan@nl.wanadoo.com> <20030605114444.A60385@phantom.cris.net> <20030605093201.GE9038@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030605093201.GE9038@starjuice.net> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) Subject: Re: Experimental patchsets X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 15:01:15 -0000 On Thu, Jun 05, 2003 at 11:32:01AM +0200, Sheldon Hearn wrote: > On (2003/06/05 11:44), Alexey Zelkin wrote: > > > Can't say anything for jdk13, but it's bad idea for jdk14. At least now. > > > > Those who'll be able to build jdk14 from patchset and wanna try it > > should expect problems and be ready for them. > > But those who are able to build jdk14 from a port marked -devel should > also expect problems and be ready for them. :-) > > Seriously, I don't see how increased exposure could hurt. I'm not saying that its a bad idea, but here are some of the problems: 1. The checksum will change every week when the next patchset is auto-generated. This one is actually pretty easy to solve though, I can auto-commit the checksum change when I upload the new patchset. 2. Any given patchset may not compile, may break in other ways, may require arbitrary changes to the port, etc. Staying with the old patchset won't be an option since its getting overwritten, so the maintainer is going to have to do quite a bit of maintenance to keep the port in sync with the patchset. Also note the havoc this may cause should another port come to depend on jdk1?-devel. Note that the second one specifically defeats my reasons for putting out experimental patchsets - a low (time) cost way (for me) to get out more recent work for people to test/use without having to do release testing and the like. That is to say, I'm all for someone who wants to do the work to maintain this, I'll even do the automated commit of the checksum changes as noted above, but I won't be creating such a port. -- 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 Thu Jun 5 08:08:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D69B37B405 for ; Thu, 5 Jun 2003 08:08:56 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB3043F93 for ; Thu, 5 Jun 2003 08:08:52 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h55I9SU6003613; Thu, 5 Jun 2003 18:09:29 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h55FFwQh065967; Thu, 5 Jun 2003 18:15:58 +0300 (EEST) (envelope-from ml) Date: Thu, 5 Jun 2003 18:15:57 +0300 From: Alexey Zelkin To: Ernst de Haan Message-ID: <20030605181557.A65827@phantom.cris.net> References: <200306051650.30751.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200306051650.30751.ernst.dehaan@nl.wanadoo.com>; from ernst.dehaan@nl.wanadoo.com on Thu, Jun 05, 2003 at 04:50:30PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: Fwd: Re: 5.1-RELEASE TODO X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 15:08:57 -0000 hi, On Thu, Jun 05, 2003 at 04:50:30PM +0200, Ernst de Haan wrote: > Sh/could we put anything on the list for JDK 1.3/1.4 for 5.2-RELEASE? Yep :-) To have binary versions released :) But I think it has nothing to do with FreeBSD wide TODO list. From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 09:08:54 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C482137B401; Thu, 5 Jun 2003 09:08:54 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id F278D43FA3; Thu, 5 Jun 2003 09:08:53 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h55G8qNc001363; Thu, 5 Jun 2003 12:08:52 -0400 (EDT) Date: Thu, 5 Jun 2003 12:08:52 -0400 (EDT) From: Daniel Eischen To: Alexey Zelkin In-Reply-To: <20030605115222.B60385@phantom.cris.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 16:08:55 -0000 On Thu, 5 Jun 2003, Alexey Zelkin wrote: > hi, > > On Tue, Jun 03, 2003 at 05:48:15AM -0400, Daniel Eischen wrote: > > > I was more interested in the statement that "jdk is only guaranteed > > to work with libc_r" that one of the Java developers posted. I > > It only means that I can guarantee correctly working product in > environment there're it was tested (i.e. at user threads only level). > > Don't get me wrong -- I'll be happy to try libthr and libpthread as > soon as I'll be able to do it. Local problems here prevents me > from complete cvsup right now :-( Also I have to make complete > pass of TCK tests (at least VM tests -- more than 8000 testsets) > before saying anything. > > > took it to mean that the implementation of our jdk is geared > > towards libc_r (perhaps knowing internal stuff about how libc_r > > works). I don't want anything like that to stop us, and we > > can add some common APIs to the threads libraries if needed > > to support it. > > I have spent a lot of time to get rid libc_r internals usage > in jdk14. pthread_attr_get_np() was a conclusion and allowed me > to switch from API to ABI compat mode. I looked at the patches for jdk14 and they include the patches for jdk13. The patchset does include pthread_private.h ahd does examine internal thread state as well as access registers directly from the thread structure. This is not portable across thread libraries. For the jdk to work across thread libraries, it can't include private header files and can only use the pthread APIs. -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 10:57:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5558A37B401; Thu, 5 Jun 2003 10:57:07 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCC4143FAF; Thu, 5 Jun 2003 10:57:03 -0700 (PDT) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h55KvfU6016998; Thu, 5 Jun 2003 20:57:41 GMT Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.2) id h55I48ak074969; Thu, 5 Jun 2003 21:04:08 +0300 (EEST) (envelope-from phantom) Date: Thu, 5 Jun 2003 21:04:08 +0300 From: Alexey Zelkin To: Daniel Eischen Message-ID: <20030605210408.A74144@phantom.cris.net> References: <20030605115222.B60385@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@pcnet.com on Thu, Jun 05, 2003 at 12:08:52PM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 17:57:07 -0000 hi, On Thu, Jun 05, 2003 at 12:08:52PM -0400, Daniel Eischen wrote: > On Thu, 5 Jun 2003, Alexey Zelkin wrote: > > > hi, > > > > On Tue, Jun 03, 2003 at 05:48:15AM -0400, Daniel Eischen wrote: > > > > > I was more interested in the statement that "jdk is only guaranteed > > > to work with libc_r" that one of the Java developers posted. I > > > > It only means that I can guarantee correctly working product in > > environment there're it was tested (i.e. at user threads only level). > > > > Don't get me wrong -- I'll be happy to try libthr and libpthread as > > soon as I'll be able to do it. Local problems here prevents me > > from complete cvsup right now :-( Also I have to make complete > > pass of TCK tests (at least VM tests -- more than 8000 testsets) > > before saying anything. > > > > > took it to mean that the implementation of our jdk is geared > > > towards libc_r (perhaps knowing internal stuff about how libc_r > > > works). I don't want anything like that to stop us, and we > > > can add some common APIs to the threads libraries if needed > > > to support it. > > > > I have spent a lot of time to get rid libc_r internals usage > > in jdk14. pthread_attr_get_np() was a conclusion and allowed me > > to switch from API to ABI compat mode. > > I looked at the patches for jdk14 and they include the patches for > jdk13. The patchset does include pthread_private.h ahd does > examine internal thread state as well as access registers > directly from the thread structure. This is not portable across > thread libraries. I'd suggest to take a look again. All required internal information is now exported to JVM via pthread_attr_get_np(). Since first days of February of this year. Since both libthr and libpthread support it -- I don't see any principal reason for jdk14 to not to work with other thread libs. Absence of deep testing is another issue. > For the jdk to work across thread libraries, it can't include > private header files and can only use the pthread APIs. From owner-freebsd-java@FreeBSD.ORG Thu Jun 5 11:24:13 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A34337B401; Thu, 5 Jun 2003 11:24:13 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF8F43F3F; Thu, 5 Jun 2003 11:24:12 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h55IOBNc022420; Thu, 5 Jun 2003 14:24:11 -0400 (EDT) Date: Thu, 5 Jun 2003 14:24:11 -0400 (EDT) From: Daniel Eischen To: Alexey Zelkin In-Reply-To: <20030605210408.A74144@phantom.cris.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: Fwd: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 18:24:13 -0000 On Thu, 5 Jun 2003, Alexey Zelkin wrote: > On Thu, Jun 05, 2003 at 12:08:52PM -0400, Daniel Eischen wrote: > > I looked at the patches for jdk14 and they include the patches for > > jdk13. The patchset does include pthread_private.h ahd does > > examine internal thread state as well as access registers > > directly from the thread structure. This is not portable across > > thread libraries. > > I'd suggest to take a look again. All required internal information > is now exported to JVM via pthread_attr_get_np(). Since first days > of February of this year. Since both libthr and libpthread support > it -- I don't see any principal reason for jdk14 to not to work with > other thread libs. Absence of deep testing is another issue. OK, I took another look. I guess I had mistakenly looked at the jdk13 patches instead of the jdk14 patches. I did notice one thing: + * BSDNOTE: It's support for fd locking on per thread basis. Since + * FreeBSD libc_r does implement it internally - do nothing here. libc_r does not do fd locking in either -current or -stable. The macros are present, but are disabled by default. You'll need to roll your own. Plus, libkse and libthr won't be doing this either. -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Fri Jun 6 11:08:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDCDA37B401 for ; Fri, 6 Jun 2003 11:08:24 -0700 (PDT) Received: from web20511.mail.yahoo.com (web20511.mail.yahoo.com [216.136.175.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D43E43F3F for ; Fri, 6 Jun 2003 11:08:24 -0700 (PDT) (envelope-from yoshideska@yahoo.com) Message-ID: <20030606180823.70140.qmail@web20511.mail.yahoo.com> Received: from [66.171.37.20] by web20511.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 11:08:23 PDT Date: Fri, 6 Jun 2003 11:08:23 -0700 (PDT) From: sagsag agsdgasg To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Java 1.4.1 InetAddress.getLocalHost() throws unexpected exception X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 18:08:25 -0000 x86 FreeBSD 4.8 Java 1.4.1 InetAddress.getLocalHost() throws unexpected exception. This program works on "OS X" and windows when the program ( below ) is run the FreeBSD 4.8 output is: # java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_05_jun_2003_15_07) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_05_jun_2003_15_07, mixed mode) # java Junk running java.net.UnknownHostException: : # the "OS X" output is: -bash2.05b @ ~ % java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) -bash2.05b @ ~ % java Junk running .local./192.168.123.15 end -bash2.05b @ ~ % /* file Junk.java */ import java.io.*; import java.net.*; public class Junk { public static void main( String[] argv ) { try { System.out.println( "running" ); InetAddress x = InetAddress.getLocalHost( ); System.out.println( x.toString( ) ); System.out.println( "end" ); } catch( IOException E ) { System.out.println( E.toString() ); } } } __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From owner-freebsd-java@FreeBSD.ORG Fri Jun 6 11:17:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93FC737B401 for ; Fri, 6 Jun 2003 11:17:09 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF6D43FAF for ; Fri, 6 Jun 2003 11:17:08 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu88-246-041.nc.rr.com [24.88.246.41]) h56IFTMF028291; Fri, 6 Jun 2003 14:15:29 -0400 (EDT) Sender: mmercer@ms-smtp-03.southeast.rr.com Message-ID: <3EE0DAA3.728EAA64@nc.rr.com> Date: Fri, 06 Jun 2003 14:17:07 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: sagsag agsdgasg References: <20030606180823.70140.qmail@web20511.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Java 1.4.1 InetAddress.getLocalHost() throws unexpected exception X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 18:17:09 -0000 Hello peoples, I just compiled and ran Junk.java below with no problems... FreeBSD 4.8-STABLE... What do you get when you run hostname from the command line? later MeM sagsag agsdgasg wrote: > x86 FreeBSD 4.8 Java 1.4.1 InetAddress.getLocalHost() > throws unexpected exception. This program works on "OS > X" and windows > > when the program ( below ) is run > > the FreeBSD 4.8 output is: > # java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition > (build 1.4.1-p3-root_05_jun_2003_15_07) > Java HotSpot(TM) Client VM (build > 1.4.1-p3-root_05_jun_2003_15_07, mixed mode) > # java Junk > running > java.net.UnknownHostException: : > # > > the "OS X" output is: > -bash2.05b @ ~ % java -version > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition > (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed > mode) > -bash2.05b @ ~ % java Junk > running > .local./192.168.123.15 > end > -bash2.05b @ ~ % > > /* file Junk.java */ > > import java.io.*; > import java.net.*; > > public class Junk > { > public static void main( String[] argv ) > { > try > { > System.out.println( "running" ); > InetAddress x = InetAddress.getLocalHost( ); > System.out.println( x.toString( ) ); > System.out.println( "end" ); > } > catch( IOException E ) > { > System.out.println( E.toString() ); > } > } > } > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > _______________________________________________ > 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 Fri Jun 6 11:24:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E7637B409 for ; Fri, 6 Jun 2003 11:24:55 -0700 (PDT) Received: from web20511.mail.yahoo.com (web20511.mail.yahoo.com [216.136.175.150]) by mx1.FreeBSD.org (Postfix) with SMTP id EC2BF43FAF for ; Fri, 6 Jun 2003 11:24:54 -0700 (PDT) (envelope-from yoshideska@yahoo.com) Message-ID: <20030606182454.73818.qmail@web20511.mail.yahoo.com> Received: from [66.171.37.20] by web20511.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 11:24:54 PDT Date: Fri, 6 Jun 2003 11:24:54 -0700 (PDT) From: sagsag agsdgasg To: mmercer@nc.rr.com In-Reply-To: <3EE0DAA3.728EAA64@nc.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-java@freebsd.org Subject: Re: Java 1.4.1 InetAddress.getLocalHost() throws unexpected exception X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 18:24:55 -0000 hostname returns a blank line, i don't know what that indicates. # hostname # uname -a FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 --- Michael E Mercer wrote: > Hello peoples, > > I just compiled and ran Junk.java below with no > problems... > > FreeBSD 4.8-STABLE... > > What do you get when you run hostname from the > command line? > > later > MeM > > sagsag agsdgasg wrote: > > > x86 FreeBSD 4.8 Java 1.4.1 > InetAddress.getLocalHost() > > throws unexpected exception. This program works on > "OS > > X" and windows > > > > when the program ( below ) is run > > > > the FreeBSD 4.8 output is: > > # java -version > > java version "1.4.1-p3" > > Java(TM) 2 Runtime Environment, Standard Edition > > (build 1.4.1-p3-root_05_jun_2003_15_07) > > Java HotSpot(TM) Client VM (build > > 1.4.1-p3-root_05_jun_2003_15_07, mixed mode) > > # java Junk > > running > > java.net.UnknownHostException: : > > # > > > > the "OS X" output is: > > -bash2.05b @ ~ % java -version > > java version "1.4.1_01" > > Java(TM) 2 Runtime Environment, Standard Edition > > (build 1.4.1_01-39) > > Java HotSpot(TM) Client VM (build 1.4.1_01-14, > mixed > > mode) > > -bash2.05b @ ~ % java Junk > > running > > .local./192.168.123.15 > > end > > -bash2.05b @ ~ % > > > > /* file Junk.java */ > > > > import java.io.*; > > import java.net.*; > > > > public class Junk > > { > > public static void main( String[] argv ) > > { > > try > > { > > System.out.println( > "running" ); > > InetAddress x = > InetAddress.getLocalHost( ); > > System.out.println( > x.toString( ) ); > > System.out.println( "end" > ); > > } > > catch( IOException E ) > > { > > System.out.println( > E.toString() ); > > } > > } > > } > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync > to Outlook(TM). > > http://calendar.yahoo.com > > _______________________________________________ > > 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" > __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From owner-freebsd-java@FreeBSD.ORG Fri Jun 6 12:41:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1471637B404 for ; Fri, 6 Jun 2003 12:41:08 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7209B43FBF for ; Fri, 6 Jun 2003 12:41:06 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu88-246-041.nc.rr.com [24.88.246.41]) h56JZd5J023969; Fri, 6 Jun 2003 15:35:39 -0400 (EDT) Sender: mmercer@ms-smtp-01.southeast.rr.com Message-ID: <3EE0EE50.3BD60752@nc.rr.com> Date: Fri, 06 Jun 2003 15:41:04 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: sagsag agsdgasg References: <20030606193806.91447.qmail@web20511.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: 'FreeBSD Java mailing list' Subject: Re: Java 1.4.1 InetAddress.getLocalHost() throws unexpected exception X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 19:41:08 -0000 Do you have an entry in /etc/hosts for the name you set hostname to? If not, add an entry and retry your test program... I just set my hostname to "" and I get the unknownhost exception... I set it back and it works... the only difference I can see is you need an entry in /etc/hosts... HTH MeM sagsag agsdgasg wrote: > basically same result > > # hostname FreeBSD48 > # hostname > FreeBSD48 > # java Junk > running > java.net.UnknownHostException: FreeBSD48: FreeBSD48 > # > > could it be a something I'm missing in > /etc/namedb/named.conf ? > > --- Michael E Mercer wrote: > > Try this... > > > > > hostname where is the name you want > > your pc to have... > > > > then run your test program again... > > > > what happens? > > > > later > > MeM > > > > > > sagsag agsdgasg wrote: > > > > > hostname returns a blank line, i don't know what > > that > > > indicates. > > > # hostname > > > > > > # uname -a > > > FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu > > Apr > > > 3 10:53:38 GMT 2003 > > > > > > root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC > > > i386 > > > > > > --- Michael E Mercer wrote: > > > > Hello peoples, > > > > > > > > I just compiled and ran Junk.java below with no > > > > problems... > > > > > > > > FreeBSD 4.8-STABLE... > > > > > > > > What do you get when you run hostname from the > > > > command line? > > > > > > > > later > > > > MeM > > > > > > > > sagsag agsdgasg wrote: > > > > > > > > > x86 FreeBSD 4.8 Java 1.4.1 > > > > InetAddress.getLocalHost() > > > > > throws unexpected exception. This program > > works on > > > > "OS > > > > > X" and windows > > > > > > > > > > when the program ( below ) is run > > > > > > > > > > the FreeBSD 4.8 output is: > > > > > # java -version > > > > > java version "1.4.1-p3" > > > > > Java(TM) 2 Runtime Environment, Standard > > Edition > > > > > (build 1.4.1-p3-root_05_jun_2003_15_07) > > > > > Java HotSpot(TM) Client VM (build > > > > > 1.4.1-p3-root_05_jun_2003_15_07, mixed mode) > > > > > # java Junk > > > > > running > > > > > java.net.UnknownHostException: : > > > > > # > > > > > > > > > > the "OS X" output is: > > > > > -bash2.05b @ ~ % java -version > > > > > java version "1.4.1_01" > > > > > Java(TM) 2 Runtime Environment, Standard > > Edition > > > > > (build 1.4.1_01-39) > > > > > Java HotSpot(TM) Client VM (build 1.4.1_01-14, > > > > mixed > > > > > mode) > > > > > -bash2.05b @ ~ % java Junk > > > > > running > > > > > .local./192.168.123.15 > > > > > end > > > > > -bash2.05b @ ~ % > > > > > > > > > > /* file Junk.java */ > > > > > > > > > > import java.io.*; > > > > > import java.net.*; > > > > > > > > > > public class Junk > > > > > { > > > > > public static void main( String[] argv > > ) > > > > > { > > > > > try > > > > > { > > > > > System.out.println( > > > > "running" ); > > > > > InetAddress x = > > > > InetAddress.getLocalHost( ); > > > > > System.out.println( > > > > x.toString( ) ); > > > > > System.out.println( > > "end" > > > > ); > > > > > } > > > > > catch( IOException E ) > > > > > { > > > > > System.out.println( > > > > E.toString() ); > > > > > } > > > > > } > > > > > } > > > > > > > > > > __________________________________ > > > > > Do you Yahoo!? > > > > > Yahoo! Calendar - Free online calendar with > > sync > > > > to Outlook(TM). > > > > > http://calendar.yahoo.com > > > > > > > _______________________________________________ > > > > > 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" > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Calendar - Free online calendar with sync > > to Outlook(TM). > > > http://calendar.yahoo.com > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com