From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 11:08:27 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 769E016A46E for ; Mon, 12 Mar 2007 11:08:27 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 67C0D13C4B8 for ; Mon, 12 Mar 2007 11:08:27 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2CB8Rj6065125 for ; Mon, 12 Mar 2007 11:08:27 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2CB8QQ7065121 for freebsd-java@FreeBSD.org; Mon, 12 Mar 2007 11:08:26 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2007 11:08:26 GMT Message-Id: <200703121108.l2CB8QQ7065121@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 11:08:27 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes on 4.9 works f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o java/104627 java Makefile jdk14 broken o java/105369 java problem with port diablo-jdk15 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug 7 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su o ports/108406 java Offer for maintainership of devel/apache-ant 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 17:45:28 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 081A216A401 for ; Mon, 12 Mar 2007 17:45:28 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 6968713C48C for ; Mon, 12 Mar 2007 17:45:27 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8) with ESMTP id l2CH72R7036461 for ; Mon, 12 Mar 2007 13:07:02 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8/Submit) id l2CH72Kr036460 for java@freebsd.org; Mon, 12 Mar 2007 13:07:02 -0400 (EDT) (envelope-from mwlucas) Date: Mon, 12 Mar 2007 13:07:02 -0400 From: "Michael W. Lucas" To: java@freebsd.org Message-ID: <20070312170702.GA36432@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Mon, 12 Mar 2007 13:07:02 -0400 (EDT) Cc: Subject: Build problem on amd64 -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 17:45:28 -0000 Hi, Building jdk15 from Sunday's ports tree on FreeBSD humvee.blackhelicopters.org 7.0-CURRENT-200702 FreeBSD 7.0-CURRENT-200702 #0: Sun Feb 4 13:50:06 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 dies with: -o /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/java/lang/CharacterDataLatin1. java -string -usecharforbyte -latin1 8 /usr/local/linux-sun-jdk1.4.2/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.jar -classpath /usr/port s/java/jdk15/work/control/build/bsd-amd64/tmp/java/java.lang/java/GenerateCharacter GenerateCharacter -plan e 0 -template ../../tools/GenerateCharacter/CharacterData00.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../tools/GenerateChar acter/SpecialCasing.txt \ -o /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/java/lang/CharacterData00.java -string -usecharforbyte 11 4 1 # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xffffefd4, pid=99911, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) # Problematic frame: # C 0xffffefd4 # # An error report file with more information is saved as hs_err_pid99911.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # gmake[3]: *** [/usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/java/lang/CharacterData00.java] Ab ort trap: 6 (core dumped) gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 The specified error log shows: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xffffefd4, pid=99911, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) # Problematic frame: # C 0xffffefd4 # --------------- T H R E A D --------------- Current thread (0x08057fb8): JavaThread "main" [_thread_in_vm, id=99911] siginfo:si_signo=11, si_errno=0, si_code=3, si_addr=0xffffefd4 Registers: EAX=0x281e5360, EBX=0xffff9eb4, ECX=0x00000010, EDX=0x00000000 ESP=0xffff9e28, EBP=0xffff9f2c, ESI=0x280821b8, EDI=0xffff9f50 EIP=0xffffefd4, CR2=0x00000000, EFLAGS=0x00010246 Top of Stack: (sp=0xffff9e28) 0xffff9e28: 0000000c ffff9e34 ffff9eb4 0000000c 0xffff9e38: 00000000 00000000 00000000 00000000 0xffff9e48: 00000000 00000000 00000000 00000000 0xffff9e58: 00000000 00000000 00000000 00000000 0xffff9e68: 00000000 00000000 00000000 00000000 0xffff9e78: 00000000 00000000 00000000 00000000 0xffff9e88: 00000000 00000000 00000000 00000000 0xffff9e98: 00000000 00000000 00000000 00000000 Instructions: (pc=0xffffefd4) 0xffffefc4: 01 00 00 8d 9c 24 8c 00 00 00 8e 6b 00 8e 63 04 0xffffefd4: 8e 43 08 8e 5b 0c 50 b8 ad 00 00 00 cd 80 eb fe Stack: [0xffe0e000,0xfffff000), sp=0xffff9e28, free space=1967k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0xffffefd4 C [libpthread.so.0+0x78e9] C [libpthread.so.0+0xa6fd] C [libpthread.so.0+0x718e] __pthread_mutex_lock+0x122 V [libjvm.so+0x2646ab] V [libjvm.so+0x254218] V [libjvm.so+0x2840cb] V [libjvm.so+0x255666] V [libjvm.so+0x2d1dde] V [libjvm.so+0x156340] V [libjvm.so+0x182f08] V [libjvm.so+0x194009] V [libjvm.so+0x124b9f] v ~RuntimeStub::new_instance Runtime1 stub J java.util.regex.Pattern.matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; J java.util.regex.Pattern.split(Ljava/lang/CharSequence;I)[Ljava/lang/String; J UnicodeSpec.parse(Ljava/lang/String;)LUnicodeSpec; v ~RuntimeStub::alignment_frame_return Runtime1 stub j UnicodeSpec.readSpecFile(Ljava/io/File;I)[LUnicodeSpec;+64 j GenerateCharacter.main([Ljava/lang/String;)V+17 v ~StubRoutines::call_stub V [libjvm.so+0x1af5c4] V [libjvm.so+0x265049] V [libjvm.so+0x1af816] V [libjvm.so+0x1b7ade] V [libjvm.so+0x1c66ad] C [java+0x1880] C [libc.so.6+0x152e7] __libc_start_main+0x8f Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v ~RuntimeStub::new_instance Runtime1 stub J java.util.regex.Pattern.matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; J java.util.regex.Pattern.split(Ljava/lang/CharSequence;I)[Ljava/lang/String; J UnicodeSpec.parse(Ljava/lang/String;)LUnicodeSpec; v ~RuntimeStub::alignment_frame_return Runtime1 stub j UnicodeSpec.readSpecFile(Ljava/io/File;I)[LUnicodeSpec;+64 j GenerateCharacter.main([Ljava/lang/String;)V+17 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08098e90 JavaThread "CompilerThread0" daemon [_thread_blocked, id=99918] 0x080980b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=99917] 0x08094de0 JavaThread "Finalizer" daemon [_thread_blocked, id=99915] 0x080933a0 JavaThread "Reference Handler" daemon [_thread_blocked, id=99914] =>0x08057fb8 JavaThread "main" [_thread_in_vm, id=99911] Other Threads: 0x080901f0 VMThread [id=99913] 0x0809a800 WatcherThread [id=99919] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08057768/0x08057798] Safepoint_lock - owner thread: 0x080901f0 [0x080577c8/0x080577f8] Threads_lock - owner thread: 0x080901f0 [0x08057af8/0x08057b18] Heap_lock - owner thread: 0x08057fb8 Heap def new generation total 576K, used 575K [0x2c910000, 0x2c9b0000, 0x2cdf0000) eden space 512K, 99% used [0x2c910000, 0x2c98ffe8, 0x2c990000) from space 64K, 100% used [0x2c9a0000, 0x2c9b0000, 0x2c9b0000) to space 64K, 0% used [0x2c990000, 0x2c990000, 0x2c9a0000) tenured generation total 4452K, used 3529K [0x2cdf0000, 0x2d249000, 0x30910000) the space 4452K, 79% used [0x2cdf0000, 0x2d1627f8, 0x2d162800, 0x2d249000) compacting perm gen total 4096K, used 1153K [0x30910000, 0x30d10000, 0x34910000) the space 4096K, 28% used [0x30910000, 0x30a30678, 0x30a30800, 0x30d10000) Dynamic libraries: 08048000-08053000 r-xp 0000d000 VM Arguments: jvm_args: -Xbootclasspath/p:../../sun/javac/javac/gjc.jar java_command: GenerateCharacter -plane 0 -template ../../tools/GenerateCharacter/CharacterData00.java.template -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../tools/GenerateCharacter/SpecialCasing.txt -o /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/java/lang/CharacterData00.java -string -usecharforbyte 11 4 1 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/home/mwlucas/package:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/pilot/bin:/home/mwlucas/bin:/usr/local/sbin:/usr/local/nessus/bin:/home/mwlucas/mozilla:/home/mwlucas/office52 LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client:/usr/local/linux-sun-jdk1.4.2/jre/lib/i386:/usr/local/linux-sun-jdk1.4.2/jre/../lib/i386: SHELL=/bin/sh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=amd64 MACHTYPE=unknown --------------- S Y S T E M --------------- OS:Fedora Core release 4 (Stentz) uname:Linux 2.4.2 FreeBSD 7.0-CURRENT-200702 #0: Sun Feb 4 13:50:06 UTC 2007 i686 libc:glibc 2.3.6 linuxthreads-0.10 (floating stack) rlimit: STACK 2044k, CORE infinity, NPROC 5547, NOFILE 11095, AS infinity load average:2305371875193507.00 3682211737374180026647287394465231144322965111161713695038128720135521032342882689836971020800477151018305177395940366631821643870250301855693715527850966783703355386287362112749568.00 393160905304336613377038583000562297406412547301217906626090121734749655543036779135766626304.00 CPU:total 2 family 47, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 1034988k(899508k free), swap 1536000k(1536000k free) vm_info: Java HotSpot(TM) Client VM (1.4.2_13-b06) for linux-x86, built on Oct 18 2006 10:27:30 by unknown with unknown compiler Any suggestions? Thanks, ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP & GPG -- http://www.pgpandgpg.com "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 18:59:29 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D89D16A403 for ; Mon, 12 Mar 2007 18:59:29 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 37B2713C45A for ; Mon, 12 Mar 2007 18:59:29 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l2CIRGqU064749; Mon, 12 Mar 2007 10:27:16 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l2CIRGDi064748; Mon, 12 Mar 2007 11:27:16 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 12 Mar 2007 11:27:15 -0700 From: Greg Lewis To: "Michael W. Lucas" Message-ID: <20070312182715.GA64528@misty.eyesbeyond.com> References: <20070312170702.GA36432@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070312170702.GA36432@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.4.2.2i Cc: java@freebsd.org Subject: Re: Build problem on amd64 -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 18:59:29 -0000 On Mon, Mar 12, 2007 at 01:07:02PM -0400, Michael W. Lucas wrote: > FreeBSD humvee.blackhelicopters.org 7.0-CURRENT-200702 FreeBSD 7.0-CURRENT-200702 #0: Sun Feb 4 13:50:06 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > dies with: > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0xffffefd4, pid=99911, tid=16384 > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) > # Problematic frame: > # C 0xffffefd4 This is the bootstrapping Linux 1.4.2 VM. Looks like there are some changes to the Linuxulator in -CURRENT which have broken it. -- 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 Mon Mar 12 20:27:26 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0E2F16A47A for ; Mon, 12 Mar 2007 20:27:26 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 55EEE13C4D0 for ; Mon, 12 Mar 2007 20:27:25 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8) with ESMTP id l2CKR55U037297; Mon, 12 Mar 2007 16:27:05 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8/Submit) id l2CKR5AH037296; Mon, 12 Mar 2007 16:27:05 -0400 (EDT) (envelope-from mwlucas) Date: Mon, 12 Mar 2007 16:27:05 -0400 From: "Michael W. Lucas" To: Greg Lewis Message-ID: <20070312202704.GA37240@bewilderbeast.blackhelicopters.org> References: <20070312170702.GA36432@bewilderbeast.blackhelicopters.org> <20070312182715.GA64528@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070312182715.GA64528@misty.eyesbeyond.com> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Mon, 12 Mar 2007 16:27:05 -0400 (EDT) Cc: java@freebsd.org Subject: Re: Build problem on amd64 -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 20:27:26 -0000 On Mon, Mar 12, 2007 at 11:27:15AM -0700, Greg Lewis wrote: > On Mon, Mar 12, 2007 at 01:07:02PM -0400, Michael W. Lucas wrote: > > FreeBSD humvee.blackhelicopters.org 7.0-CURRENT-200702 FreeBSD 7.0-CURRENT-200702 #0: Sun Feb 4 13:50:06 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > > dies with: > > # > > # An unexpected error has been detected by HotSpot Virtual Machine: > > # > > # SIGSEGV (0xb) at pc=0xffffefd4, pid=99911, tid=16384 > > # > > # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) > > # Problematic frame: > > # C 0xffffefd4 > > This is the bootstrapping Linux 1.4.2 VM. Looks like there are some > changes to the Linuxulator in -CURRENT which have broken it. Thanks. I'll go ask the emulation folks. ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP & GPG -- http://www.pgpandgpg.com "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur From owner-freebsd-java@FreeBSD.ORG Wed Mar 14 06:01:02 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB8CB16A402; Wed, 14 Mar 2007 06:01:02 +0000 (UTC) (envelope-from lmth@deakin.edu.au) Received: from deakin.edu.au (tegmen.its.deakin.edu.au [128.184.136.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5E87913C483; Wed, 14 Mar 2007 06:01:01 +0000 (UTC) (envelope-from lmth@deakin.edu.au) Received: from localhost (tegmen-1.its.deakin.edu.au [128.184.136.55]) by deakin.edu.au (8.13.1/8.13.1) with ESMTP id l2E5Ab6h023979; Wed, 14 Mar 2007 16:10:37 +1100 Received: from lonax11-a021.dialup.optusnet.com.au (lonax11-a021.dialup.optusnet.com.au [211.29.243.21]) by mail.deakin.edu.au (Horde MIME library) with HTTP; Wed, 14 Mar 2007 16:10:36 +1100 Message-ID: <20070314161036.zdk6rvzb40ws8scw@mail.deakin.edu.au> Date: Wed, 14 Mar 2007 16:10:36 +1100 From: lmth@deakin.edu.au To: freebsd-java@freebsd.org, freebsd-chat@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: Subject: A request for your input. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 06:01:03 -0000 Hello My name is Lara Thynne and I am a PhD candidate at Deakin University Australia. I am currently researching the boundary between work and leisure activities directly related to the open source community and open source program development. As part of this I am running a survey at the following address. https://dcarf.deakin.edu.au/surveys/oss/ The survey is completely confidential and looks at your views and motivations to use Open Source software and to participate in the community. It will only take a five to ten minutes to complete and your contact details will not be recorded. You can withdraw your participation at any stage. I sincerely apologize for the spammish nature of this e-mail - I don't mean to abuse this list. I am trying to collect responses from as many open source developers and users as possible and a mailing list like can be the only way to reach many developers. Thanks again Lara P.S The program that I am using is open source, of course (www.phpsurveyor.org)! From owner-freebsd-java@FreeBSD.ORG Wed Mar 14 07:28:24 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E4C516A401 for ; Wed, 14 Mar 2007 07:28:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.freebsd.org (Postfix) with ESMTP id 1F4A113C45A for ; Wed, 14 Mar 2007 07:28:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost.droso.net [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 50FCB1CD21 for ; Wed, 14 Mar 2007 08:28:23 +0100 (CET) Received: from koala.droso.net (localhost.droso.net [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 250671CD1F for ; Wed, 14 Mar 2007 08:28:23 +0100 (CET) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20070314072823.250671CD1F@mail.droso.net> Date: Wed, 14 Mar 2007 08:28:23 +0100 (CET) X-Virus-Scanned: by amavisd 0.1 Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 07:28:24 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of the port, including errors seen on the build farm, is included below. portname: java/linux-blackdown-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-blackdown-jdk13 If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Wed Mar 14 12:17:23 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B10816A400 for ; Wed, 14 Mar 2007 12:17:23 +0000 (UTC) (envelope-from sunnzy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id ED48F13C48C for ; Wed, 14 Mar 2007 12:17:22 +0000 (UTC) (envelope-from sunnzy@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so159452ana for ; Wed, 14 Mar 2007 05:17:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gym7L0gk27Ch8zXMQ8iwOALyRgnX7lRKKTSCEUb7AAE0XevaoAL/22Kprz0fRooQKfvS0FD0nQaWJfKhNbvwkCGHKfyt2ANPP/Un+ukxA8QK6N4G46IGDC0NSbg722y5aYLkJIL1wtHrLY3gu9NtKy72r58tNZkescGG8acHQZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TiV3uNs6YUxXikhJo0AXspMVSrMBQje/zSS03XQh0OEw7a1Mguh2OGPhl1k0CvTCNcDyR3+2OngzJfHtOXde6zDqH1f82Ccp5vidqMKAVhnVcFjZDDKFJRV0+V/xZz5mL+Ya65tpW6WwlSqL+eEMlt9jktL22fc7bVJOtfBuKxA= Received: by 10.100.195.10 with SMTP id s10mr1694743anf.1173872944136; Wed, 14 Mar 2007 04:49:04 -0700 (PDT) Received: by 10.100.166.13 with HTTP; Wed, 14 Mar 2007 04:49:04 -0700 (PDT) Message-ID: Date: Wed, 14 Mar 2007 22:49:04 +1100 From: Sunnz To: "lmth@deakin.edu.au" In-Reply-To: <20070314161036.zdk6rvzb40ws8scw@mail.deakin.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070314161036.zdk6rvzb40ws8scw@mail.deakin.edu.au> Cc: freebsd-chat@freebsd.org, freebsd-java@freebsd.org Subject: Re: A request for your input. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 12:17:23 -0000 "On a scale of 1 to 5 how important are the following things in your decision to work on an Open Source project?" And the choices are: Very Important Important Moderately Important Of little Importance Unimportant No answer Sorry to be annoying over these tiny details... ~_~ 2007/3/14, lmth@deakin.edu.au : > Hello > > My name is Lara Thynne and I am a PhD candidate at Deakin University > Australia. I am currently researching the boundary between work and > leisure activities directly related to the open source community and > open source program development. > > As part of this I am running a survey at the following address. > > https://dcarf.deakin.edu.au/surveys/oss/ > > The survey is completely confidential and looks at your views and > motivations to use Open Source software and to participate in the > community. > > It will only take a five to ten minutes to complete and your contact > details will not be recorded. You can withdraw your participation at > any stage. > > I sincerely apologize for the spammish nature of this e-mail - I > don't mean to abuse this list. I am trying to collect responses > from as many open source developers and users as possible and a > mailing list like can be the only way to reach many developers. > > Thanks again > > Lara > > P.S The program that I am using is open source, of course > (www.phpsurveyor.org)! > > > _______________________________________________ > freebsd-chat@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org" > -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 07:33:44 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA46E16A403; Thu, 15 Mar 2007 07:33:44 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 91FEE13C465; Thu, 15 Mar 2007 07:33:44 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2F7XieL098037; Thu, 15 Mar 2007 07:33:44 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2F7XipB098033; Thu, 15 Mar 2007 07:33:44 GMT (envelope-from delphij) Date: Thu, 15 Mar 2007 07:33:44 GMT From: Xin LI Message-Id: <200703150733.l2F7XipB098033@freefall.freebsd.org> To: delphij@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/110163: [NEW PORT] [java] Jboss5b1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 07:33:44 -0000 Old Synopsis: [NEW PORT]Jboss5b1 New Synopsis: [NEW PORT] [java] Jboss5b1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: delphij Responsible-Changed-When: Thu Mar 15 07:32:38 UTC 2007 Responsible-Changed-Why: Over to freebsd-java@ http://www.freebsd.org/cgi/query-pr.cgi?pr=110163 From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 18:19:22 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCB8116A402 for ; Thu, 15 Mar 2007 18:19:22 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D83313C46E for ; Thu, 15 Mar 2007 18:19:22 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a5.g.dreamhost.com (sd-green-bigip-145.dreamhost.com [208.97.132.145]) by sumo.dreamhost.com (Postfix) with ESMTP id 50B6517F94A for ; Thu, 15 Mar 2007 10:51:23 -0700 (PDT) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a5.g.dreamhost.com (Postfix) with ESMTP id 4465914D6B1 for ; Thu, 15 Mar 2007 10:51:20 -0700 (PDT) Message-ID: <45F98797.6060704@cyberwang.net> Date: Thu, 15 Mar 2007 13:51:19 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (X11/20070313) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: multipart/mixed; boundary="------------040003080408090903090003" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [Fwd: diablo jvm bug with NumberFormat.getCurrencyInstance();] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 18:19:22 -0000 This is a multi-part message in MIME format. --------------040003080408090903090003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Victori in ##freebsd on freenode is having trouble sending this message along so I'm here acting as a proxy. --------------040003080408090903090003 Content-Type: message/rfc822; name="diablo jvm bug with NumberFormat.getCurrencyInstance();" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename*0="diablo jvm bug with NumberFormat.getCurrencyInstance();" Return-Path: X-Original-To: sean@cyberwang.net Delivered-To: anonuser@spunkymail-mx7.g.dreamhost.com Received: from absolute.salesdepotinc.com (adsl-67-119-150-206.dsl.lsan03.pacbell.net [67.119.150.206]) by spunkymail-mx7.g.dreamhost.com (Postfix) with ESMTP id 55B66B6C3 for ; Thu, 15 Mar 2007 10:00:08 -0700 (PDT) Received: from localhost (oraclenew.salesdepotinc.com [127.0.0.1]) by absolute.salesdepotinc.com (Postfix) with ESMTP id 3D72E21C886 for ; Thu, 15 Mar 2007 08:59:46 -0800 (PST) X-Virus-Scanned: amavisd-new at salesdepotinc.com X-Spam-Score: -1.929 X-Spam-Level: X-Spam-Status: No, score=-1.929 tagged_above=-999 required=3 tests=[AWL=0.669, BAYES_00=-2.599, HTML_MESSAGE=0.001] Received: from absolute.salesdepotinc.com ([127.0.0.1]) by localhost (absolute.salesdepotinc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Ens6JTd2FQP for ; Thu, 15 Mar 2007 08:59:43 -0800 (PST) Received: from [192.168.1.14] (cpe-76-168-243-89.socal.res.rr.com [76.168.243.89]) by absolute.salesdepotinc.com (Postfix) with ESMTP id D7D8121C884 for ; Thu, 15 Mar 2007 08:59:42 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) To: sean@cyberwang.net Message-Id: <169F1C87-D734-4887-A4A1-356A8FAED3CF@salesdepotinc.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2-249815053 From: "victori@salesdepotinc.com" Subject: diablo jvm bug with NumberFormat.getCurrencyInstance(); Date: Thu, 15 Mar 2007 10:00:26 -0700 X-Mailer: Apple Mail (2.752.3) --Apple-Mail-2-249815053 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Cause: String str = "$1.99"; NumberFormat.getCurrencyInstance().parse (str).doubleValue(); With a currency symbol in the String it throws an exception, even with the Locale being set. Where as on sun-jdk it parses that test case correctly to a double value. Getting this fixed might be a priority since Java is heavily used for intranet business applications. -Victor --Apple-Mail-2-249815053 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" String str =3D "$1.99"; = NumberFormat.getCurrencyInstance().parse(str).doubleValue();=A0=A0<= /FONT> With a currency = symbol in the String it throws an exception, even with the Locale being = set. Where as on sun-jdk it parses that test case correctly to a double = value. Getting this fixed = might be a priority since Java is=A0heavily used for intranet business = applications.=A0 -Victor = --Apple-Mail-2-249815053-- --------------040003080408090903090003-- From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 18:56:44 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 957A316A400 for ; Thu, 15 Mar 2007 18:56:44 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8739413C448 for ; Thu, 15 Mar 2007 18:56:44 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 72B7E1704B; Thu, 15 Mar 2007 11:33:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 6E8A017049; Thu, 15 Mar 2007 11:33:12 -0700 (PDT) Date: Thu, 15 Mar 2007 11:33:12 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: Sean Bryant In-Reply-To: <45F98797.6060704@cyberwang.net> Message-ID: <20070315112457.O97295@turing> References: <45F98797.6060704@cyberwang.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-java@freebsd.org Subject: Re: [Fwd: diablo jvm bug with NumberFormat.getCurrencyInstance();] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 18:56:44 -0000 It works for me. No exception thrown. java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00) Java HotSpot(TM) Client VM (build diablo-1.5.0_06-b00, mixed mode) Here's the code I used: import java.text.*; public class test { public static void main(String[] args) { try { System.out.println(NumberFormat.getCurrencyInstance().parse("$1.99").doubleValue()); } catch (Exception e) { e.printStackTrace(); } } } Compiled with javac, and on running it prints "1.99" to standard out, just as one would expect. I built Java from ports on Jan 28. My previous install from Feb 16 last year works also. On Thu, 15 Mar 2007, Sean Bryant wrote: > Victori in ##freebsd on freenode is having trouble sending this message along > so I'm here acting as a proxy. > > -- "Humans are a dangerously insane and very sick species." -- Eckhart Tolle This message has been brought to you by Nick Johnson 2.2 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 22:20:03 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62DB916A404 for ; Thu, 15 Mar 2007 22:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 40C9013C459 for ; Thu, 15 Mar 2007 22:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2FMK3YT017644 for ; Thu, 15 Mar 2007 22:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2FMK3cR017643; Thu, 15 Mar 2007 22:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 15 Mar 2007 22:20:03 GMT Resent-Message-Id: <200703152220.l2FMK3cR017643@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Victor Igumnov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB3B816A405 for ; Thu, 15 Mar 2007 22:17:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id B5D6B13C480 for ; Thu, 15 Mar 2007 22:17:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2FMHvlc083452 for ; Thu, 15 Mar 2007 22:17:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l2FMHvMN083450; Thu, 15 Mar 2007 22:17:57 GMT (envelope-from nobody) Message-Id: <200703152217.l2FMHvMN083450@www.freebsd.org> Date: Thu, 15 Mar 2007 22:17:57 GMT From: Victor Igumnov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: java/110364: Diablo jvm bytecode issue X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 22:20:03 -0000 >Number: 110364 >Category: java >Synopsis: Diablo jvm bytecode issue >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 22:20:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Victor Igumnov >Release: 6.2 >Organization: salesdepotinc.com >Environment: FreeBSD absolute.salesdepotinc.com 6.2-STABLE FreeBSD 6.2-STABLE #2: Wed Feb 21 18:24:49 PST 2007 root@absolute.salesdepotinc.com:/usr/src/sys/i386/compile/ABSOLUTE i386 >Description: I tried to submit this in 10 different ways, all being rejected by the freebsd mailing server. Three different email addresses, all being rejected. Reverse DNS is working yet for some reason it rejected all three. So here is the report. Bytecode incompatability with the sun classes in Diablo JVM 1. It seems like this issue is with NumberFormat at the bytecode level 2. 3. Here is an example testcase: 4. 5. import java.text.*; 6. 7. public class Test { 8. public static void main(String[] args) { 9. try { 10. System.out.println(NumberFormat.getCurrencyInstance().parse("$1.99").doubleValue()); 11. } catch (Exception e) { 12. e.printStackTrace(); 13. } 14. } 15. } 16. 17. Save as Test.java ; compile under the SUN JVM: javac Test.java 18. 19. 20. Run the class under the Diablo jvm and you will receive 21. 22. -bash-2.05b$ java Test 23. java.text.ParseException: Unparseable number: "$1.99" 24. at java.text.NumberFormat.parse(NumberFormat.java:309) 25. at Test.main(Test.java:6) 26. 27. And when I run it with the SUN JDK 28. 29. absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test 30. 1.99 31. 32. 33. If you can't compile Ill provide what I have, 34. 35. http://salesdepotinc.com/Test.java 36. http://salesdepotinc.com/Test.class (compiled with sun jdk) 37. 38. 39. 40. Works correctly. >How-To-Repeat: see above >Fix: see above >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 22:25:01 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F3B16A404 for ; Thu, 15 Mar 2007 22:25:01 +0000 (UTC) (envelope-from victori@salesdepotinc.com) Received: from absolute.salesdepotinc.com (adsl-67-119-150-206.dsl.lsan03.pacbell.net [67.119.150.206]) by mx1.freebsd.org (Postfix) with ESMTP id B02AA13C448 for ; Thu, 15 Mar 2007 22:25:01 +0000 (UTC) (envelope-from victori@salesdepotinc.com) Received: from localhost (oraclenew.salesdepotinc.com [127.0.0.1]) by absolute.salesdepotinc.com (Postfix) with ESMTP id C127221C886 for ; Thu, 15 Mar 2007 13:25:02 -0800 (PST) X-Virus-Scanned: amavisd-new at salesdepotinc.com X-Spam-Score: -3.511 X-Spam-Level: X-Spam-Status: No, score=-3.511 tagged_above=-999 required=3 tests=[ALL_TRUSTED=-1.8, AWL=0.288, BAYES_00=-2.599, J_CHICKENPOX_44=0.6] Received: from absolute.salesdepotinc.com ([127.0.0.1]) by localhost (absolute.salesdepotinc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33hPjY1CTYQs for ; Thu, 15 Mar 2007 13:24:59 -0800 (PST) Received: from [192.168.254.7] (unknown [192.168.254.7]) by absolute.salesdepotinc.com (Postfix) with ESMTP id C1D5321C884 for ; Thu, 15 Mar 2007 13:24:59 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-java@freebsd.org From: "victori@salesdepotinc.com" Date: Thu, 15 Mar 2007 14:25:38 -0700 X-Mailer: Apple Mail (2.752.2) Subject: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 22:25:01 -0000 Anonuser has posted on my behalf, seems like this issue with NumberFormat is at the bytecode level Here is an example testcase: import java.text.*; public class Test { public static void main(String[] args) { try { System.out.println(NumberFormat.getCurrencyInstance().parse ("$1.99").doubleValue()); } catch (Exception e) { e.printStackTrace(); } } } Save as Test.java ; compile under the SUN JVM: javac Test.java Run the class under the Diablo jvm and you will receive -bash-2.05b$ java Test java.text.ParseException: Unparseable number: "$1.99" at java.text.NumberFormat.parse(NumberFormat.java:309) at Test.main(Test.java:6) And when I run it with the SUN JDK absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test 1.99 Works correctly. From owner-freebsd-java@FreeBSD.ORG Thu Mar 15 22:50:03 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71E0816A409 for ; Thu, 15 Mar 2007 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4705E13C469 for ; Thu, 15 Mar 2007 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2FMo3bX022202 for ; Thu, 15 Mar 2007 22:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2FMo3YG022201; Thu, 15 Mar 2007 22:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 15 Mar 2007 22:50:03 GMT Resent-Message-Id: <200703152250.l2FMo3YG022201@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charlie & Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49FB416A400 for ; Thu, 15 Mar 2007 22:41:42 +0000 (UTC) (envelope-from root@absolute.salesdepotinc.com) Received: from absolute.salesdepotinc.com (adsl-67-119-150-206.dsl.lsan03.pacbell.net [67.119.150.206]) by mx1.freebsd.org (Postfix) with ESMTP id 2149313C45E for ; Thu, 15 Mar 2007 22:41:41 +0000 (UTC) (envelope-from root@absolute.salesdepotinc.com) Received: from localhost (oraclenew.salesdepotinc.com [127.0.0.1]) by absolute.salesdepotinc.com (Postfix) with ESMTP id E2F3721C884 for ; Thu, 15 Mar 2007 14:09:09 -0800 (PST) Received: from absolute.salesdepotinc.com ([127.0.0.1]) by localhost (absolute.salesdepotinc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TT53MXZ-ftvh for ; Thu, 15 Mar 2007 14:09:06 -0800 (PST) Received: by absolute.salesdepotinc.com (Postfix, from userid 0) id B5BBE21C881; Thu, 15 Mar 2007 14:09:06 -0800 (PST) Message-Id: <20070315220906.B5BBE21C881@absolute.salesdepotinc.com> Date: Thu, 15 Mar 2007 14:09:06 -0800 (PST) From: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/110366: diablo jvm bytecode bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charlie & List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 22:50:03 -0000 >Number: 110366 >Category: java >Synopsis: diablo jvm bytecode bug >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 22:50:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: victori & >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD absolute.salesdepotinc.com 6.2-STABLE FreeBSD 6.2-STABLE #2: Wed Feb 21 18:24:49 PST 2007 root@absolute.salesdepotinc.com:/usr/src/sys/i386/compile/ABSOLUTE i386 Sorry I copy pasted it, but I tried about 5 times to get this bug report submitted. 1. It seems like this issue is with NumberFormat at the bytecode level 2. 3. Here is an example testcase: 4. 5. import java.text.*; 6. 7. public class Test { 8. public static void main(String[] args) { 9. try { 10. System.out.println(NumberFormat.getCurrencyInstance().parse("$1.99").doubleValue()); 11. } catch (Exception e) { 12. e.printStackTrace(); 13. } 14. } 15. } 16. 17. Save as Test.java ; compile under the SUN JVM: javac Test.java 18. 19. 20. Run the class under the Diablo jvm and you will receive 21. 22. -bash-2.05b$ java Test 23. java.text.ParseException: Unparseable number: "$1.99" 24. at java.text.NumberFormat.parse(NumberFormat.java:309) 25. at Test.main(Test.java:6) 26. 27. And when I run it with the SUN JDK 28. 29. absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test 30. 1.99 31. 32. 33. If you can't compile Ill provide what I have, 34. 35. http://salesdepotinc.com/Test.java 36. http://salesdepotinc.com/Test.class (compiled with sun jdk) 37. 38. 39. 40. Works correctly. >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Fri Mar 16 01:01:05 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B752016A403 for ; Fri, 16 Mar 2007 01:01:05 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.freebsd.org (Postfix) with ESMTP id A45DF13C44B for ; Fri, 16 Mar 2007 01:01:05 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 8E46717058; Thu, 15 Mar 2007 18:01:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 8AEC317051; Thu, 15 Mar 2007 18:01:05 -0700 (PDT) Date: Thu, 15 Mar 2007 18:01:05 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: "victori@salesdepotinc.com" In-Reply-To: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> Message-ID: <20070315173523.I97295@turing> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: FreeBSD-gnats-submit@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: java/110364 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 01:01:05 -0000 I actually get a completely different reaction, not a ParseException: /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java Test Exception in thread "main" java.lang.NoClassDefFoundError: UnhappyClass at Test.main(Test.java:5) To make matters weirder, if I call my file on FreeBSD Test.java, the same thing happens. But if I call my file test.java (all lowercase), which produces a class called test.class it works. If I call my test file FooBar.java, or TesT.java that is fine as well. It looks like "Test" with no package name is a name you cannot use with diablo JDK. That's a different bug entirely. Incidentally, if I call the class "FooBar" and compile on Windows and run it on FreeBSD, that also works fine. It prints $1.99, just as it should. The same is true for code compiled on Linux. And Solaris. I cannot reproduce this problem using the Diablo JDK built out of ports as of January 28, 2007. Nick On Thu, 15 Mar 2007, victori@salesdepotinc.com wrote: > Anonuser has posted on my behalf, seems like this issue with NumberFormat is > at the bytecode level > > Here is an example testcase: > > import java.text.*; > > public class Test { > public static void main(String[] args) { > try { > System.out.println(NumberFormat.getCurrencyInstance().parse("$1.99").doubleValue()); > } catch (Exception e) { > e.printStackTrace(); > } > } > } > > Save as Test.java ; compile under the SUN JVM: javac Test.java > > > Run the class under the Diablo jvm and you will receive > > -bash-2.05b$ java Test > java.text.ParseException: Unparseable number: "$1.99" > at java.text.NumberFormat.parse(NumberFormat.java:309) > at Test.main(Test.java:6) > > And when I run it with the SUN JDK > > absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > 1.99 > > > Works correctly. > > > _______________________________________________ > 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" > -- "Humans are a dangerously insane and very sick species." -- Eckhart Tolle This message has been brought to you by Nick Johnson 2.2 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 16 01:30:10 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FC9916A400 for ; Fri, 16 Mar 2007 01:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2628513C457 for ; Fri, 16 Mar 2007 01:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2G1UAcd042507 for ; Fri, 16 Mar 2007 01:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2G1U9IX042506; Fri, 16 Mar 2007 01:30:09 GMT (envelope-from gnats) Date: Fri, 16 Mar 2007 01:30:09 GMT Message-Id: <200703160130.l2G1U9IX042506@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Nick Johnson Cc: Subject: Re: java/110364 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Johnson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 01:30:10 -0000 The following reply was made to PR java/110364; it has been noted by GNATS. From: Nick Johnson To: "victori@salesdepotinc.com" Cc: freebsd-java@freebsd.org, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: java/110364 Date: Thu, 15 Mar 2007 18:01:05 -0700 (PDT) I actually get a completely different reaction, not a ParseException: /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java Test Exception in thread "main" java.lang.NoClassDefFoundError: UnhappyClass at Test.main(Test.java:5) To make matters weirder, if I call my file on FreeBSD Test.java, the same thing happens. But if I call my file test.java (all lowercase), which produces a class called test.class it works. If I call my test file FooBar.java, or TesT.java that is fine as well. It looks like "Test" with no package name is a name you cannot use with diablo JDK. That's a different bug entirely. Incidentally, if I call the class "FooBar" and compile on Windows and run it on FreeBSD, that also works fine. It prints $1.99, just as it should. The same is true for code compiled on Linux. And Solaris. I cannot reproduce this problem using the Diablo JDK built out of ports as of January 28, 2007. Nick On Thu, 15 Mar 2007, victori@salesdepotinc.com wrote: > Anonuser has posted on my behalf, seems like this issue with NumberFormat is > at the bytecode level > > Here is an example testcase: > > import java.text.*; > > public class Test { > public static void main(String[] args) { > try { > System.out.println(NumberFormat.getCurrencyInstance().parse("$1.99").doubleValue()); > } catch (Exception e) { > e.printStackTrace(); > } > } > } > > Save as Test.java ; compile under the SUN JVM: javac Test.java > > > Run the class under the Diablo jvm and you will receive > > -bash-2.05b$ java Test > java.text.ParseException: Unparseable number: "$1.99" > at java.text.NumberFormat.parse(NumberFormat.java:309) > at Test.main(Test.java:6) > > And when I run it with the SUN JDK > > absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > 1.99 > > > Works correctly. > > > _______________________________________________ > 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" > -- "Humans are a dangerously insane and very sick species." -- Eckhart Tolle This message has been brought to you by Nick Johnson 2.2 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 16 09:39:46 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F52516A401 for ; Fri, 16 Mar 2007 09:39:46 +0000 (UTC) (envelope-from calvin.varney@gmail.com) Received: from mxsrv4.tranzpeer.net (mxsrv4.tranzpeer.net [202.180.66.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1B013C448 for ; Fri, 16 Mar 2007 09:39:46 +0000 (UTC) (envelope-from calvin.varney@gmail.com) Received: from 202-180-123-137.jetbuster.co.nz ([202.180.123.137] helo=[192.168.1.10]) by mxsrv4.tranzpeer.net with ESMTP (Exim 4.50) id 1HS7mF-0001ID-Mh; Fri, 16 Mar 2007 21:27:07 +1300 From: Calvin Varney To: "victori@salesdepotinc.com" In-Reply-To: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> Content-Type: text/plain Date: Fri, 16 Mar 2007 21:27:57 +1300 Message-Id: <1174033677.1588.5.camel@exponent> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 09:39:46 -0000 This could be a locale problem rather than a Diablo jvm one. What happens if you specify the local when invoking getCurrencyInstance, e.g. NumberFormat.getCurrencyInstance(Locale.US); See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html for setting you locale. cheers Calvin. On Thu, 2007-03-15 at 14:25 -0700, victori@salesdepotinc.com wrote: > Anonuser has posted on my behalf, seems like this issue with > NumberFormat is at the bytecode level > > Here is an example testcase: > > import java.text.*; > > public class Test { > public static void main(String[] args) { > try { > System.out.println(NumberFormat.getCurrencyInstance().parse > ("$1.99").doubleValue()); > } catch (Exception e) { > e.printStackTrace(); > } > } > } > > Save as Test.java ; compile under the SUN JVM: javac Test.java > > > Run the class under the Diablo jvm and you will receive > > -bash-2.05b$ java Test > java.text.ParseException: Unparseable number: "$1.99" > at java.text.NumberFormat.parse(NumberFormat.java:309) > at Test.main(Test.java:6) > > And when I run it with the SUN JDK > > absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > 1.99 > > > Works correctly. > > > _______________________________________________ > 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 Mar 16 13:55:36 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FB6816A400 for ; Fri, 16 Mar 2007 13:55:36 +0000 (UTC) (envelope-from lamer0@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id DE78213C45D for ; Fri, 16 Mar 2007 13:55:35 +0000 (UTC) (envelope-from lamer0@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so537891wxc for ; Fri, 16 Mar 2007 06:55:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=cyNE98/JORUqgaY6cbK88OzBuvfeUGiITg2cJ4x7qlnmlredIzX7UFmh+kjJXt8CQVd4HedbLDhyMNnH3Oi7e/D75a4Fy48jtHoy0mpe53vrcmHYstr9GYR2YS4tjN9zrZoilMwlBUBg3295CZODsl6lja1LZ6TckiynlUy7428= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=TwPO8uWIF8Ita9sL7mleqH8E4X83YvquLwts2VZUa9RtfLFtQIFBDtJeRHWt8YF38SnbniHANFQwRdc+G2zBlPEchPoVe2CUzz3te9EzjE+8OalUg6396BQpsIInJfhVJwGHHv+4oK3IZFUL7p8R5Axk9KCjWCTeTpkKRzFC0N4= Received: by 10.90.31.19 with SMTP id e19mr1679127age.1174051688437; Fri, 16 Mar 2007 06:28:08 -0700 (PDT) Received: from ?192.168.1.14? ( [76.168.243.89]) by mx.google.com with ESMTP id 15sm8533547nzn.2007.03.16.06.28.07; Fri, 16 Mar 2007 06:28:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <43632782-B042-4464-BB36-A76F205B49DD@gmail.com> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> <1174033677.1588.5.camel@exponent> <43632782-B042-4464-BB36-A76F205B49DD@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3707F016-B450-4E5E-9CA2-DB72FA5A4E70@gmail.com> Content-Transfer-Encoding: 7bit From: Victor Igumnov Date: Fri, 16 Mar 2007 06:28:34 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 13:55:36 -0000 > It isn't a Locale issue, seems like a bytecode issue plain and > simple. If compiled with the Diablo JVM it works correctly. The > reason I choose to use Java for this project is the fact that the > bytecode would be interchangable between JVMs/platforms. If I am > running into issues this early, this makes me weary. > > -Victor > > > > On Mar 16, 2007, at 1:27 AM, Calvin Varney wrote: > >> This could be a locale problem rather than a Diablo jvm one. What >> happens if you specify the local when invoking >> getCurrencyInstance, e.g. >> NumberFormat.getCurrencyInstance(Locale.US); >> >> See >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using- >> localization.html for setting you locale. >> >> cheers >> >> Calvin. >> >> On Thu, 2007-03-15 at 14:25 -0700, victori@salesdepotinc.com wrote: >>> Anonuser has posted on my behalf, seems like this issue with >>> NumberFormat is at the bytecode level >>> >>> Here is an example testcase: >>> >>> import java.text.*; >>> >>> public class Test { >>> public static void main(String[] args) { >>> try { >>> System.out.println(NumberFormat.getCurrencyInstance().parse >>> ("$1.99").doubleValue()); >>> } catch (Exception e) { >>> e.printStackTrace(); >>> } >>> } >>> } >>> >>> Save as Test.java ; compile under the SUN JVM: javac Test.java >>> >>> >>> Run the class under the Diablo jvm and you will receive >>> >>> -bash-2.05b$ java Test >>> java.text.ParseException: Unparseable number: "$1.99" >>> at java.text.NumberFormat.parse(NumberFormat.java:309) >>> at Test.main(Test.java:6) >>> >>> And when I run it with the SUN JDK >>> >>> absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test >>> 1.99 >>> >>> >>> Works correctly. >>> >>> >>> _______________________________________________ >>> 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 Mar 16 15:34:48 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F6C416A400 for ; Fri, 16 Mar 2007 15:34:48 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4323613C483 for ; Fri, 16 Mar 2007 15:34:48 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id EDE4C1704E; Fri, 16 Mar 2007 08:34:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id EAD481704B; Fri, 16 Mar 2007 08:34:47 -0700 (PDT) Date: Fri, 16 Mar 2007 08:34:47 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: Victor Igumnov In-Reply-To: <3707F016-B450-4E5E-9CA2-DB72FA5A4E70@gmail.com> Message-ID: <20070316082824.E97295@turing> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> <1174033677.1588.5.camel@exponent> <43632782-B042-4464-BB36-A76F205B49DD@gmail.com> <3707F016-B450-4E5E-9CA2-DB72FA5A4E70@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-java@freebsd.org Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 15:34:48 -0000 Surely if it were a bytecode issue, someone else would have been able to reproduce it. As it is, I tried code compiled on FreeBSD, Solaris, Windows and Linux and they all worked fine and exactly as expected with the testcase. The one thing that did not work was naming a class "Test" with no package name, which I would imagine is a legitimate bug. Have you tried any of the following: * Running your test on another machine * Recompiling / Reinstalling the diablo JVM * CVS Updating your ports and rebuilding the diablo JVM out of ports Nick On Fri, 16 Mar 2007, Victor Igumnov wrote: > >It isn't a Locale issue, seems like a bytecode issue plain and simple. If > >compiled with the Diablo JVM it works correctly. The reason I choose to use > >Java for this project is the fact that the bytecode would be interchangable > >between JVMs/platforms. If I am running into issues this early, this makes me > >weary. > > > >-Victor > > > > > > > >On Mar 16, 2007, at 1:27 AM, Calvin Varney wrote: > > > > >This could be a locale problem rather than a Diablo jvm one. What > > >happens if you specify the local when invoking getCurrencyInstance, e.g. > > >NumberFormat.getCurrencyInstance(Locale.US); > > > > > >See > > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html > > >for setting you locale. > > > > > >cheers > > > > > >Calvin. > > > > > >On Thu, 2007-03-15 at 14:25 -0700, victori@salesdepotinc.com wrote: > > > >Anonuser has posted on my behalf, seems like this issue with > > > >NumberFormat is at the bytecode level > > > > > > > >Here is an example testcase: > > > > > > > >import java.text.*; > > > > > > > >public class Test { > > > > public static void main(String[] args) { > > > > try { > > > > System.out.println(NumberFormat.getCurrencyInstance().parse > > > >("$1.99").doubleValue()); > > > > } catch (Exception e) { > > > > e.printStackTrace(); > > > > } > > > > } > >>>} > > > > > > > >Save as Test.java ; compile under the SUN JVM: javac Test.java > > > > > > > > > > > >Run the class under the Diablo jvm and you will receive > > > > > > > >-bash-2.05b$ java Test > > > >java.text.ParseException: Unparseable number: "$1.99" > > > > at java.text.NumberFormat.parse(NumberFormat.java:309) > > > > at Test.main(Test.java:6) > > > > > > > >And when I run it with the SUN JDK > > > > > > > >absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > > > >1.99 > > > > > > > > > > > >Works correctly. > > > > > > > > > >>>_______________________________________________ > > > >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" > > > > > > > _______________________________________________ > 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" > -- "Humans are a dangerously insane and very sick species." -- Eckhart Tolle This message has been brought to you by Nick Johnson 2.2 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 16 18:15:37 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CD8216A405 for ; Fri, 16 Mar 2007 18:15:37 +0000 (UTC) (envelope-from lamer0@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0701313C468 for ; Fri, 16 Mar 2007 18:15:36 +0000 (UTC) (envelope-from lamer0@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so237889nza for ; Fri, 16 Mar 2007 11:15:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=UxkB2twTBuUbL5JAGymQ+uJWRpcS7LApKzbOtzcXg6dP3Ucw0dsdHIkMpzOd6sFPN2OgUY22HUi+0slLGetVr/A15v1fzrdUvnsP2Ej4DKtyTTOi0dkrgfA+D+IMcMIa+cRDKW6UiYmc+pEuT4GfxbMAzI5cip5v7KyswIUzcx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=UJgbut6p+j5walB6MGt7LWo5E8vAyLDTo77b5lJBLYLJSyv9z7Ji0j8kNRhWCASOb+FBMqOAHSLgW5o/xlGeqlkkwEfBUD4jngOpcCJCRBrj3hqDuUUF1Q4+IysMOMB1yXQWWCnXPUL2mmF2F1OpP23Gmrxq3JLn2csPmuAucj4= Received: by 10.35.107.20 with SMTP id j20mr4722041pym.1174068936132; Fri, 16 Mar 2007 11:15:36 -0700 (PDT) Received: from ?192.168.1.14? ( [76.168.243.89]) by mx.google.com with ESMTP id 17sm9771182nzo.2007.03.16.11.15.34; Fri, 16 Mar 2007 11:15:35 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20070316082824.E97295@turing> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> <1174033677.1588.5.camel@exponent> <43632782-B042-4464-BB36-A76F205B49DD@gmail.com> <3707F016-B450-4E5E-9CA2-DB72FA5A4E70@gmail.com> <20070316082824.E97295@turing> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <43F553E4-A4E1-457C-B82D-4DE94FA02EE3@gmail.com> Content-Transfer-Encoding: 7bit From: Victor Igumnov Date: Fri, 16 Mar 2007 11:16:01 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 18:15:37 -0000 Update, seems like it is a Locale issue, which is odd I remember specifically setting it before, and it still produced the same error. Well I guess this is user blunder on my part. How would you set the default locale for the JDK? I might just might wrap it around with Spring to set a predefined locale. -Victor On Mar 16, 2007, at 8:34 AM, Nick Johnson wrote: > Surely if it were a bytecode issue, someone else would have been > able to > reproduce it. As it is, I tried code compiled on FreeBSD, Solaris, > Windows and Linux and they all worked fine and exactly as expected > with > the testcase. > > The one thing that did not work was naming a class "Test" with no > package > name, which I would imagine is a legitimate bug. > > Have you tried any of the following: > > * Running your test on another machine > * Recompiling / Reinstalling the diablo JVM > * CVS Updating your ports and rebuilding the diablo JVM out of > ports > > Nick > > On Fri, 16 Mar 2007, Victor Igumnov wrote: > >>> It isn't a Locale issue, seems like a bytecode issue plain and >>> simple. If >>> compiled with the Diablo JVM it works correctly. The reason I >>> choose to use >>> Java for this project is the fact that the bytecode would be >>> interchangable >>> between JVMs/platforms. If I am running into issues this early, >>> this makes me >>> weary. >>> >>> -Victor >>> >>> >>> >>> On Mar 16, 2007, at 1:27 AM, Calvin Varney wrote: >>> >>>> This could be a locale problem rather than a Diablo jvm one. What >>>> happens if you specify the local when invoking >>>> getCurrencyInstance, e.g. >>>> NumberFormat.getCurrencyInstance(Locale.US); >>>> >>>> See >>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using- >>>> localization.html >>>> for setting you locale. >>>> >>>> cheers >>>> >>>> Calvin. >>>> >>>> On Thu, 2007-03-15 at 14:25 -0700, victori@salesdepotinc.com wrote: >>>>> Anonuser has posted on my behalf, seems like this issue with >>>>> NumberFormat is at the bytecode level >>>>> >>>>> Here is an example testcase: >>>>> >>>>> import java.text.*; >>>>> >>>>> public class Test { >>>>> public static void main(String[] args) { >>>>> try { >>>>> System.out.println(NumberFormat.getCurrencyInstance().parse >>>>> ("$1.99").doubleValue()); >>>>> } catch (Exception e) { >>>>> e.printStackTrace(); >>>>> } >>>>> } >>>>> } >>>>> >>>>> Save as Test.java ; compile under the SUN JVM: javac Test.java >>>>> >>>>> >>>>> Run the class under the Diablo jvm and you will receive >>>>> >>>>> -bash-2.05b$ java Test >>>>> java.text.ParseException: Unparseable number: "$1.99" >>>>> at java.text.NumberFormat.parse(NumberFormat.java:309) >>>>> at Test.main(Test.java:6) >>>>> >>>>> And when I run it with the SUN JDK >>>>> >>>>> absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test >>>>> 1.99 >>>>> >>>>> >>>>> Works correctly. >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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" >>>> >>> >> >> _______________________________________________ >> 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" >> > > -- > "Humans are a dangerously insane and very sick species." > -- Eckhart Tolle > This message has been brought to you by Nick Johnson 2.2 and the > number 6. > http://healerNick.com/ http://morons.org/ http:// > spatula.net/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 16 19:31:07 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E7E716A401 for ; Fri, 16 Mar 2007 19:31:07 +0000 (UTC) (envelope-from parv@pair.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.freebsd.org (Postfix) with ESMTP id EE46613C44C for ; Fri, 16 Mar 2007 19:31:06 +0000 (UTC) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([24.126.17.68]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20070316191912.QJOB2272.mta10.adelphia.net@default.chvlva.adelphia.net>; Fri, 16 Mar 2007 19:19:12 +0000 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id BC863B7E9; Fri, 16 Mar 2007 15:19:07 -0400 (EDT) Date: Fri, 16 Mar 2007 15:19:07 -0400 From: Parv To: "victori@salesdepotinc.com" Message-ID: <20070316191907.GA3472@holestein.holy.cow> Mail-Followup-To: "victori@salesdepotinc.com" , freebsd-java@freebsd.org References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> Cc: freebsd-java@freebsd.org Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 19:31:07 -0000 in message <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com>, wrote victori@salesdepotinc.com thusly... > > Anonuser has posted on my behalf, seems like this issue with > NumberFormat is at the bytecode level > > Here is an example testcase: > > import java.text.*; > > public class Test { > public static void main(String[] args) { > try { > System.out.println(NumberFormat.getCurrencyInstance().parse > ("$1.99").doubleValue()); > } catch (Exception e) { > e.printStackTrace(); > } > } > } > > Save as Test.java ; compile under the SUN JVM: javac Test.java > > > Run the class under the Diablo jvm and you will receive > > -bash-2.05b$ java Test > java.text.ParseException: Unparseable number: "$1.99" > at java.text.NumberFormat.parse(NumberFormat.java:309) > at Test.main(Test.java:6) > > And when I run it with the SUN JDK > > absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > 1.99 > > > Works correctly. No problem here with the a class being called 'Test' & diablo-jdk-freebsd6.i386.1.5.0.07.00 (compiled before the currently running FreeBSD 6-STABLE as of around Feb 23 2007). Locale output is ... LANG= LC_CTYPE="en_US.ISO8859-15" LC_COLLATE="en_US.ISO8859-15" LC_TIME="en_US.ISO8859-15" LC_NUMERIC="en_US.ISO8859-15" LC_MONETARY="en_US.ISO8859-15" LC_MESSAGES="en_US.ISO8859-15" LC_ALL=en_US.ISO8859-15 - Parv -- From owner-freebsd-java@FreeBSD.ORG Sat Mar 17 06:34:07 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C97BD16A402 for ; Sat, 17 Mar 2007 06:34:07 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 819DB13C448 for ; Sat, 17 Mar 2007 06:34:07 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l2H6Y69p009585; Fri, 16 Mar 2007 22:34:06 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l2H6Y5Wd009584; Fri, 16 Mar 2007 23:34:05 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 16 Mar 2007 23:34:05 -0700 From: Greg Lewis To: Victor Igumnov Message-ID: <20070317063405.GA9530@misty.eyesbeyond.com> References: <635C86FC-5150-4528-972E-A5E99418D0A9@salesdepotinc.com> <1174033677.1588.5.camel@exponent> <43632782-B042-4464-BB36-A76F205B49DD@gmail.com> <3707F016-B450-4E5E-9CA2-DB72FA5A4E70@gmail.com> <20070316082824.E97295@turing> <43F553E4-A4E1-457C-B82D-4DE94FA02EE3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F553E4-A4E1-457C-B82D-4DE94FA02EE3@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: diablo jvm issue, at the byte code level X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 06:34:08 -0000 On Fri, Mar 16, 2007 at 11:16:01AM -0700, Victor Igumnov wrote: > Update, seems like it is a Locale issue, which is odd I remember > specifically setting it before, and it still produced the same error. > Well I guess this is user blunder on my part. > > How would you set the default locale for the JDK? I might just might > wrap it around with Spring to set a predefined locale. Here is one way: /usr/local/diablo-jdk1.5.0/bin/java -Duser.country=US -cp . Test Looks like the Locale class can use the following properties: user.language, user.region, user.country and user.variant. Alternatively, you can call Locale.setDefault(Locale.US) from within the application. > On Mar 16, 2007, at 8:34 AM, Nick Johnson wrote: > > >Surely if it were a bytecode issue, someone else would have been > >able to > >reproduce it. As it is, I tried code compiled on FreeBSD, Solaris, > >Windows and Linux and they all worked fine and exactly as expected > >with > >the testcase. > > > >The one thing that did not work was naming a class "Test" with no > >package > >name, which I would imagine is a legitimate bug. > > > >Have you tried any of the following: > > > > * Running your test on another machine > > * Recompiling / Reinstalling the diablo JVM > > * CVS Updating your ports and rebuilding the diablo JVM out of > >ports > > > > Nick > > > >On Fri, 16 Mar 2007, Victor Igumnov wrote: > > > >>>It isn't a Locale issue, seems like a bytecode issue plain and > >>>simple. If > >>>compiled with the Diablo JVM it works correctly. The reason I > >>>choose to use > >>>Java for this project is the fact that the bytecode would be > >>>interchangable > >>>between JVMs/platforms. If I am running into issues this early, > >>>this makes me > >>>weary. > >>> > >>>-Victor > >>> > >>> > >>> > >>>On Mar 16, 2007, at 1:27 AM, Calvin Varney wrote: > >>> > >>>>This could be a locale problem rather than a Diablo jvm one. What > >>>>happens if you specify the local when invoking > >>>>getCurrencyInstance, e.g. > >>>>NumberFormat.getCurrencyInstance(Locale.US); > >>>> > >>>>See > >>>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using- > >>>>localization.html > >>>>for setting you locale. > >>>> > >>>>cheers > >>>> > >>>>Calvin. > >>>> > >>>>On Thu, 2007-03-15 at 14:25 -0700, victori@salesdepotinc.com wrote: > >>>>>Anonuser has posted on my behalf, seems like this issue with > >>>>>NumberFormat is at the bytecode level > >>>>> > >>>>>Here is an example testcase: > >>>>> > >>>>>import java.text.*; > >>>>> > >>>>>public class Test { > >>>>> public static void main(String[] args) { > >>>>> try { > >>>>> System.out.println(NumberFormat.getCurrencyInstance().parse > >>>>>("$1.99").doubleValue()); > >>>>> } catch (Exception e) { > >>>>> e.printStackTrace(); > >>>>> } > >>>>> } > >>>>>} > >>>>> > >>>>>Save as Test.java ; compile under the SUN JVM: javac Test.java > >>>>> > >>>>> > >>>>>Run the class under the Diablo jvm and you will receive > >>>>> > >>>>>-bash-2.05b$ java Test > >>>>>java.text.ParseException: Unparseable number: "$1.99" > >>>>> at java.text.NumberFormat.parse(NumberFormat.java:309) > >>>>> at Test.main(Test.java:6) > >>>>> > >>>>>And when I run it with the SUN JDK > >>>>> > >>>>>absolute# /usr/local/linux-sun-jdk1.5.0/bin/java Test > >>>>>1.99 > >>>>> > >>>>> > >>>>>Works correctly. > >>>>> > >>>>> > >>>>>_______________________________________________ > >>>>>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" > >>>> > >>> > >> > >>_______________________________________________ > >>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" > >> > > > >-- > >"Humans are a dangerously insane and very sick species." > > -- Eckhart Tolle > >This message has been brought to you by Nick Johnson 2.2 and the > >number 6. > >http://healerNick.com/ http://morons.org/ http:// > >spatula.net/ > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Mar 17 18:15:20 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5756416A40B; Sat, 17 Mar 2007 18:15:20 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2BA1E13C484; Sat, 17 Mar 2007 18:15:20 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2HIFKbA091996; Sat, 17 Mar 2007 18:15:20 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2HIFJVZ091992; Sat, 17 Mar 2007 18:15:19 GMT (envelope-from glewis) Date: Sat, 17 Mar 2007 18:15:19 GMT From: Greg Lewis Message-Id: <200703171815.l2HIFJVZ091992@freefall.freebsd.org> To: root@absolute.salesdepotinc.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/110366: diablo jvm bytecode bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 18:15:20 -0000 Synopsis: diablo jvm bytecode bug State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Sat Mar 17 18:14:58 UTC 2007 State-Changed-Why: Duplicate of PR java/110364. http://www.freebsd.org/cgi/query-pr.cgi?pr=110366 From owner-freebsd-java@FreeBSD.ORG Sat Mar 17 18:16:20 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B21EA16A402; Sat, 17 Mar 2007 18:16:20 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 89C0013C4C3; Sat, 17 Mar 2007 18:16:20 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2HIGKfu092106; Sat, 17 Mar 2007 18:16:20 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2HIGKVS092102; Sat, 17 Mar 2007 18:16:20 GMT (envelope-from glewis) Date: Sat, 17 Mar 2007 18:16:20 GMT From: Greg Lewis Message-Id: <200703171816.l2HIGKVS092102@freefall.freebsd.org> To: victori@salesdepotinc.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/110364: Diablo jvm bytecode issue X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 18:16:20 -0000 Synopsis: Diablo jvm bytecode issue State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Sat Mar 17 18:15:52 UTC 2007 State-Changed-Why: Not a JVM issue, a locale issue, as discussed on freebsd-java. http://www.freebsd.org/cgi/query-pr.cgi?pr=110364