From owner-freebsd-java Tue Mar 21 15:36:25 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 24A9537B764 for ; Tue, 21 Mar 2000 15:36:20 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id KAA03989 for freebsd-java@freebsd.org; Wed, 22 Mar 2000 10:06:14 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003212336.KAA03989@ares.maths.adelaide.edu.au> Subject: Pre-alpha JDK 1.2.2 patches -- announcement To: freebsd-java@freebsd.org Date: Wed, 22 Mar 2000 10:06:14 +1030 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Apologies for the length of this message and the next, they both got a little longer than I had hoped.] I have placed some source code patches for the JDK 1.2.2 source at http://www.eyesbeyond.com/freebsd-jdk122-patches-3.tar.gz (this message is included in the tar ball as the file ANNOUNCEMENT). Contained in the tar ball are also the patches themselves, some INSTRUCTIONS and a list of ISSUES. These patches should be considered to be in a PRE-ALPHA state. This is because not all the functionality of a standard JDK 1.2.2 is present, not all the relevant FreeBSD releases are supported, and also because the testing so far as been relatively light. Please note that these patches are completely UNOFFICIAL. Do not abuse the FreeBSD Java porting team about them, abuse me :). On the other hand, you should definitely include the FreeBSD Java porting team in any praise about them (see the note below about thanks). So, you are probably at this point wondering how useful any JDK you build using these patches is. Personally, I have had all the Swing example applications (e.g. SwingSet) running (see ISSUES though). The code has also been run through the Mauve testsuite (see the thanks note below) and currently tests identical to the Solaris reference implementation save for one problem. There are however things which I know do not work, such as the JDBC-ODBC bridge (see ISSUES). Additionally, I do not doubt there are many bugs or problems which have yet to be discovered. These patches will certainly not yield a production quality JDK 1.2.2. These patches are being released in the hope that the FreeBSD Java community will take them up and work on them. If you're one of the people who has asked about when JDK 1.2 will be available for FreeBSD, think about putting in some time to make it happen, these patches will hopefully provide a launching pad for any effort. Please note that these patches are not in any way meant to fragment the FreeBSD porting effort. I have the utmost respect for the hard work the porting team has put in and I sincerely hope that these patches can generate some activity which will prove beneficial to the porting team. These patches came about because I'm not sure I have enough time to put into the porting effort to see it through (the porting team don't need more people who are too busy :) but I did have an "itch to scratch". If you do download the patches and get something working, please let me know. If you find a problem, please also let me know, but don't expect that I'm going to fix it (I will if I have time). If you decide to take on one of the ISSUES, please also let me know (I'll try and coordinate things). And, of course, I'd love any additional patches people come up with. Finally, and possibly most importantly, these patches are really just a set of fixes and updates on top of other people's work. These people deserve a big vote of thanks (and as above, none of the abuse). 1. Kees Jan Koster and Victor Salaman for stepping forward and testing the patches. They both pointed me at several problems along the way and in particular Victor identified some problems on 4.0 and Kees Jan ran the JDK through the Mauve test suite. Many thanks! 2. These patches are based really heavily on the earlier patches by Thomas Mittelstaedt which can be found at http://home.munich.netsurf.de/Thomas.Mittelstaedt/jdk12_FreeBSD.html I believe his were, in turn, somewhat based on earlier work by Keith White which is at http://www.site.uottawa.ca/~kwhite/java2/ And of course, I'm sure these in turn are based upon the patches for JDK 1.1.8 from the FreeBSD Java porting team (as I believe Keith is a member of the porting team). 3. The FreeBSD Java porting team. This work is built upon their work for JDK 1.1.8 and I referred to those patches many times. 4. The Blackdown Linux team, who indirectly provided a fully featured JDK 1.2.2 which could be used to bootstrap the build and to compare against. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 15:38:30 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id D502037BD2F for ; Tue, 21 Mar 2000 15:38:21 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id KAA04014 for freebsd-java@freebsd.org; Wed, 22 Mar 2000 10:08:18 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003212338.KAA04014@ares.maths.adelaide.edu.au> Subject: Pre-alpha JDK 1.2.2 patches -- issues To: freebsd-java@freebsd.org Date: Wed, 22 Mar 2000 10:08:18 +1030 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [I'm posting this to the list too, in the hope that someone who may not have time to download and play with the patches will have some clues about fixes for these just from reading this list :] 1. FreeBSD 4.0 support. I currently have no access to a FreeBSD 4.0 system to test this work on. However, Victor Salaman has kindly done some testing on his 4.0 system. Based on his reports there are a few conditional compilation sections, although these in general only avoid the problematic areas rather than fixing them. Victor believes that the chief cause of problems is the ability of 4.0 to support more than 32 signals. If you're interested in helping out here (I think this is important now that 4.0 is out) then you'll need to (at least) take a look in src/freebsd/hpi/green_threads/src/interrupt_md.c 2. FreeBSD 2.2.8 support. For technical reasons (the ports version of gcc 2.95.x doesn't assign a number to __FreeBSD__, it just defines it) much of the support for 2.2.8 was taken out (yes, I was impatient at the time) getting to this point. I am looking to put it back in at the moment in a commented out form (and lodge a PR about the gcc 2.95.x ports). However, I have no access to a 2.2.8 system, so things won't get any further than this commented out status at the moment. If you're interested in helping out here you'll obviously need a 2.2.8 system. I don't know the state of Linux emulation on 2.2.8 but I'm guessing that it won't run the Linux JDK, so you'll need another JDK to bootstrap the compilation. I believe that the minimal JDK 1.2 available on Keith White's web pages is an a.out version and could be used to bootstrap things. 3. Alpha support. I have no access to an machine running the FreeBSD alpha port. If someone wants to test things out on one that would be great, as I'd love to get alpha support working. I suspect that things won't work unfortunately, but I could be way wrong about that :). 4. Assembler version of executeJava As the comments say, "This is the very heart of the interpreter. This can be re-written in assembly language for speed on a specific platform, ..." (src/share/javavm/runtime/executeJava.c). And indeed, there is a an assembly version for the x86. Unfortunately, it causes seg faults when its used so currently the C version is being used. You probably need to understand some assembler to look at this. And possibly m4 as well, as things start off as an m4 file. This appears to be processed to yield assembler code for the Windows assembler, which is then converted for as using a masm2as converter. The build process for this is in build/freebsd/java/jvm/GNUmakefile and is currently avoided by setting QUANTIFY=1 near the top. The build process currently assumes GNU m4 (I tested it with 1.4), but it may also work with the standard FreeBSD m4 processor (this is worth testing). 5. Sun JIT compiler. It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a precompiled Solaris x86 binary without source code. This leaves us rather hamstrung in getting this to work. I can only assume that the Blackdown folk got access to the source code from Sun. It does, however, mean that one gets a lot of annoying messages about it not being able to be loaded. Whats needed here, for the moment, is for someone to look into preventing this attempt to load it as the default JIT (to avoid those annoying messages :). 6. Font setup. The font properties set up during the JDK build (build/freebsd/lib/font.properties) are the default Solaris set up, which is possibly not what we want for FreeBSD. For example, the Blackdown JDK uses a set of font properties based on those for Solaris 2.5.1 (build/freebsd/lib/font.properties.5.5.1). This needs looking into, and probably will mean some Makefile adjustments to load the font.properties that we want. There also needs to be some discussion of what the correct set up for FreeBSD is -- should we mimic Blackdown on this one? 7. DPS and postscript fonts. As part of the build of libfontmanager.so (see build/freebsd/sun/font/GNUmakefile) one can optionally enable linking with a Display Postscript library (this is the default for the Solaris build). I can only assume that this is to enable the use of Postscript fonts in Java. While this compilation option is turned off in the current set of patches (HAVE_DPS=no) I've experimentally compiled this against the Display Ghostscript library (ports/x11/dgs). This will be in the next set of patches but before then I'd be grateful if someone could have a go at actually getting some Postscript fonts working to verifies that dgs is an workable substitute. I will happily provide additional patches with regards to getting things compiling for anyone interested in taking this on. 8. Missing shared libraries. As Thomas said, when releasing his initial set of patches for JDK 1.2, "I had to leave out a couple of less important subdirectories in the $(BUILDDIR)/sun subdirectory". Unfortunately this is still pretty much the case, although some progress has been made (the font subdirectory is back in at least, albeit currently without postscript font support). These extra shared libraries all need to be looked into. a. audio This is presumably for Java Audio :). Many of the files appear to compile, but, not surprisingly, get stuck when trying to compile the Solaris specific sound support. These Solaris specific files need to be replaced with versions which support the FreeBSD sound architecture. b. jdga I'm not sure what actually uses this, but it appears to be an interface to the the Solaris libdga, a direct graphics access library for Sparc frame buffers. While its not hard to get libsunwjdga.so itself to compile, looking at the code a bit and the Solaris JDK leads me to believe there needs to be another shared library which actually provides some of the functional bindings. This could possibly be modified to work with the XFree86 DGA extensions. The first step is to find out what uses it though and how important it is! c. cmm Again, I'm not sure what uses this library, but both the Solaris and Blackdown JDKs include it. Porting this appears to involve supplying some definitions appropriate for FreeBSD (look in src/share/native/sun/awt/cmm/kcmsos.h -- I have an initial attempt at this if you're interested) and also providing some wrapper functions for threads. The current choices (src/share/native/sun/awt/cmm/sithread.h and thread.c) are Win32 threads or Solaris native threads. The option for FreeBSD is probably to introduce pthreads support, so this work mainly needs someone who knows a bit about pthreads or is ready to learn :). d. jdbc This is the JDBC-ODBC bridge code. Although this is disabled in the current set of patches, I've actually got a compiled version of this using the unixODBC package (http://www.unixodbc.org -- there is no FreeBSD port yet, but it compiles fairly easily). Like the Postscript font support though, this needs to someone to test it out and verify that its working. If you're interested, contact me for the additional patches, including a small one to get unixODBC to find the FreeBSD pthreads implementation in libc_r. 9. Merging from 1.1.8 patches. Thomas' initial patches came out in June of 1999, prior to the most recent JDK 1.1.8 releases by the port team. I haven't had the time to stop and make sure I've merged all the appropriate patches from the 1.1.8 patches. The task here is to get the patches for 1.1.8 from the FreeBSD java site (http://www.freebsd.org/java) and make sure all the relevant bits have made it into the current set of patches for 1.2. 10. FIXMEs Thomas' patches contained some FIXME notes and I've introduced more myself. Anyone who feels energetic (these are not all difficult) is welcome to look into one or more of these and generate some fixes, which will be gratefully received :). 11. Code correctness. The main focus of things so far has to been to make things work. This has almost certainly meant that sometimes sub-optimal fixes have been employed. Eventually the patches need review to make sure they not only DTRT but do it in the right way. 12. Rounding bug. Kees Jan Koster has kindly taken the time to run the JDK through the Mauve test suite (http://sourceware.cygnus.com/mauve/). Apart from voting Kees Jan many thanks for this, I was pleased to find that this uncovered only two differences with the Solaris reference implementation. One of these has since been fixed, but the other remains. As Kees Jan says: "There seems to be a well-known rounding error in the string conversions in type double. The Mauve test suite converts the double -3.5 to a string and back and expects -4.0 to come out. In the JDK1.2 reference implementation does also return -4.0, but the current FreeBSD native port displays the correct -3.5, which is an error. %-)" This is more a compatibility issue for 1.2 rather than a bug (Kees Jan's research indicates that 1.3 also returns -3.5) but is important nonetheless, especially for people developing on multiple platforms. If you're interested in looking into this, I can pass on some simple test code from Kees Jan (which I think is from Mauve) that demonstrates the problem. 13. Debug graphics pane in SwingSet. My limited testing with the SwingSet demo (build/freebsd/demo/jfc/SwingSet) has been quite successful. I have, however, noticed that the Debug Graphics pane will hang things. This definitely needs to be looked into. 14. Other JIT compilers. Both SHUjit and the TYA jit have both supported the FreeBSD 1.1.8 JDK releases. It would be great if they also worked with 1.2. I'd be very grateful if someone could take the time to investigate how well they work with the current version of the JDK. These two JITs can be found in ports/java/shujit and ports/java/tya respectively. 15. GCC versions. Kees Jan is currently having problems running Swing / AWT stuff with an unresolved reference to "__pure_virtual". He is, however, using a different version of gcc. This will be less of a problem when there is a reasonable compiled version to distribute, but even so, people who want to compile things up and help out need to know which versions of the necessary tools work (and which have known problems). Naturally it would also be good if there was a fix for this :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 16:22:11 2000 Delivered-To: freebsd-java@freebsd.org Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 55E0E37BDA5 for ; Tue, 21 Mar 2000 16:21:56 -0800 (PST) (envelope-from rjs@fdy2.demon.co.uk) Received: (from rjs@localhost) by fdy2.demon.co.uk (8.8.8/8.8.8) id AAA00583; Wed, 22 Mar 2000 00:09:41 GMT (envelope-from rjs) Date: Wed, 22 Mar 2000 00:09:41 GMT Message-Id: <200003220009.AAA00583@fdy2.demon.co.uk> From: Robert Swindells To: glewis@trc.adelaide.edu.au Cc: freebsd-java@freebsd.org In-reply-to: <200003212338.KAA04014@ares.maths.adelaide.edu.au> (message from Greg Lewis on Wed, 22 Mar 2000 10:08:18 +1030 (CST)) Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >5. Sun JIT compiler. > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > precompiled Solaris x86 binary without source code. This leaves us > rather hamstrung in getting this to work. I can only assume that the > Blackdown folk got access to the source code from Sun. It does, however, > mean that one gets a lot of annoying messages about it not being > able to be loaded. Whats needed here, for the moment, is for someone > to look into preventing this attempt to load it as the default JIT (to > avoid those annoying messages :). Do you think it is worth spending time trying to get libsunwjit to work instead of porting HotSpot ? Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 16:42:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id ECC0437C168 for ; Tue, 21 Mar 2000 16:42:29 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id RAA02303; Tue, 21 Mar 2000 17:42:28 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id RAA01855; Tue, 21 Mar 2000 17:42:27 -0700 (MST) (envelope-from nate) Date: Tue, 21 Mar 2000 17:42:27 -0700 (MST) Message-Id: <200003220042.RAA01855@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003212338.KAA04014@ares.maths.adelaide.edu.au> References: <200003212338.KAA04014@ares.maths.adelaide.edu.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 2. FreeBSD 2.2.8 support. > For technical reasons (the ports version of gcc 2.95.x doesn't assign a > number to __FreeBSD__, it just defines it) much of the support for 2.2.8 > was taken out (yes, I was impatient at the time) getting to this point. > I am looking to put it back in at the moment in a commented out form > (and lodge a PR about the gcc 2.95.x ports). However, I have no access > to a 2.2.8 system, so things won't get any further than this commented > out status at the moment. The problem with 2.2.8 is that the compiler can't handle the stock Java sources. Not sure if this is a problem that's worth spending alot of time on (although my main development box is still running 2.2.8, so we'll see.) > If you're interested in helping out here you'll obviously need a 2.2.8 > system. I don't know the state of Linux emulation on 2.2.8 but I'm > guessing that it won't run the Linux JDK, so you'll need another JDK > to bootstrap the compilation. I believe that the minimal JDK 1.2 > available on Keith White's web pages > is an a.out version and > could be used to bootstrap things. Or, you can use the JDK1.1 stuff to bootstrap it as well, although that's a bit more difficult. > 3. Alpha support. > I have no access to an machine running the FreeBSD alpha port. If someone > wants to test things out on one that would be great, as I'd love to get > alpha support working. I suspect that things won't work unfortunately, > but I could be way wrong about that :). The Blackdown work should help here. If not JDK1.2, then the 1.3 work might be a better place to start for the Alpha team. > 4. Assembler version of executeJava > As the comments say, "This is the very heart of the interpreter. This > can be re-written in assembly language for speed on a specific platform, > ..." (src/share/javavm/runtime/executeJava.c). And indeed, there is a > an assembly version for the x86. Unfortunately, it causes seg faults > when its used so currently the C version is being used. Keith got this work late in the game, and the patches to make it work are now part of the JDK1.1 patchset. If my memory serves me well, it had to do with the use of a certain Gas opcode that whacked a register that we didn't realize. We needed to push/pop one of a register before calling it, but I don't remember which one. > 5. Sun JIT compiler. > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > precompiled Solaris x86 binary without source code. This leaves us > rather hamstrung in getting this to work. This is where I personally gave up. I talked with the Blackdown team at JavaOne, and they implied that a Sun engineer gave them a binary copy of the JIT compiled for Linux. This is also where *most* of the speedups the Linux JDK has over the FreeBSD JDK exist, so unless we get a JIT, then the 1.2 stuff is going to be *slower* than the 1.1 stuff. It seems a bit counter-productive to spend alot of time building a native version when we can't even run the code at a decent speed after it's all said and done, and all attempts to motivate Sun or other vendors have met with extreme resistance. I personally got really burned out trying to work the vendors, hence my personal lack of involvement lately. > 6. Font setup. > The font properties set up during the JDK build > (build/freebsd/lib/font.properties) are the default Solaris set up, which > is possibly not what we want for FreeBSD. You should be able to use the same files from JDK1.1 as a starting point. > that we want. There also needs to be some discussion of what the correct > set up for FreeBSD is -- should we mimic Blackdown on this one? I actually spent some time messing with the fonts, and eventually ended up w/something that looked a lot like the Blackdown file. Since we're both using XFree86, it should look similar... > 7. DPS and postscript fonts. > As part of the build of libfontmanager.so (see > build/freebsd/sun/font/GNUmakefile) one can optionally enable linking > with a Display Postscript library (this is the default for the Solaris > build). I can only assume that this is to enable the use of Postscript > fonts in Java. Actually, this is so you can do 'Print Screen' functionality in JDK. You need the disply postscript part of the XServer for this to work. > 8. Missing shared libraries. > As Thomas said, when releasing his initial set of patches for JDK 1.2, > "I had to leave out a couple of less important subdirectories in the > $(BUILDDIR)/sun subdirectory". Unfortunately this is still pretty much > the case, although some progress has been made (the font subdirectory > is back in at least, albeit currently without postscript font support). > These extra shared libraries all need to be looked into. > > a. audio > This is presumably for Java Audio :). Many of the files appear to > compile, but, not surprisingly, get stuck when trying to compile > the Solaris specific sound support. These Solaris specific files > need to be replaced with versions which support the FreeBSD sound > architecture. Again, you might look into the JDK1.1 stuff, which had working audio. > b. jdga > I'm not sure what actually uses this, but it appears to be an > interface to the the Solaris libdga, a direct graphics access library > for Sparc frame buffers. While its not hard to get libsunwjdga.so > itself to compile, looking at the code a bit and the Solaris JDK > leads me to believe there needs to be another shared library which > actually provides some of the functional bindings. This could > possibly be modified to work with the XFree86 DGA extensions. The > first step is to find out what uses it though and how important it > is! I don't rememeber looking at this. > c. cmm > Again, I'm not sure what uses this library, but both the Solaris and > Blackdown JDKs include it. Porting this appears to involve supplying > some definitions appropriate for FreeBSD > (look in src/share/native/sun/awt/cmm/kcmsos.h -- I have an initial > attempt at this if you're interested) and also providing some > wrapper functions for threads. The current choices > (src/share/native/sun/awt/cmm/sithread.h and thread.c) are Win32 > threads or Solaris native threads. The option for FreeBSD is > probably to introduce pthreads support, so this work mainly needs > someone who knows a bit about pthreads or is ready to learn :). I don't know what this is. > d. jdbc > This is the JDBC-ODBC bridge code. Although this is disabled in the > current set of patches, I've actually got a compiled version of this > using the unixODBC package (http://www.unixodbc.org -- there is no > FreeBSD port yet, but it compiles fairly easily). Like the Postscript > font support though, this needs to someone to test it out and verify > that its working. If you're interested, contact me for the additional > patches, including a small one to get unixODBC to find the FreeBSD > pthreads implementation in libc_r. Cool... > 9. Merging from 1.1.8 patches. > Thomas' initial patches came out in June of 1999, prior to the most > recent JDK 1.1.8 releases by the port team. I haven't had the time to > stop and make sure I've merged all the appropriate patches from the > 1.1.8 patches. The task here is to get the patches for 1.1.8 from the > FreeBSD java site (http://www.freebsd.org/java) and make sure all the > relevant bits have made it into the current set of patches for 1.2. I'd like to think I can help here. If not with coding, I can sure help to answer questions. > 12. Rounding bug. > Kees Jan Koster has kindly taken the time to run the JDK through > the Mauve test suite (http://sourceware.cygnus.com/mauve/). Apart > from voting Kees Jan many thanks for this, I was pleased to find that > this uncovered only two differences with the Solaris reference > implementation. One of these has since been fixed, but the other > remains. As Kees Jan says: > > "There seems to be a well-known rounding error in the string conversions > in type double. The Mauve test suite converts the double -3.5 to a > string and back and expects -4.0 to come out. In the JDK1.2 reference > implementation does also return -4.0, but the current FreeBSD native > port displays the correct -3.5, which is an error. %-)" I have a pretty good idea what might be going on here. The FPU mask is different in FreeBSD, and might be causing the 'problem'. > This is more a compatibility issue for 1.2 rather than a bug (Kees Jan's > research indicates that 1.3 also returns -3.5) but is important > nonetheless, especially for people developing on multiple platforms. > If you're interested in looking into this, I can pass on some simple > test code from Kees Jan (which I think is from Mauve) that demonstrates > the problem. So, maybe it's not an error. :) > 15. GCC versions. > Kees Jan is currently having problems running Swing / AWT stuff with > an unresolved reference to "__pure_virtual". He is, however, using a > different version of gcc. I ran into this as well. Again, this has alot to do with the way G++/GCC linking occurs. I fought this one on 2.2.8 and never did get a good resolution. You have to make sure that *ALL* the libraries/objects that are used are built with the same compiler Greg, thanks for doing this. As the most visible member of the porting team, all I can say is sorry for not doing more. Maybe this will energize some new folks to jump on board here... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 16:57: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6A67237B98C for ; Tue, 21 Mar 2000 16:56:54 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id LAA05197; Wed, 22 Mar 2000 11:26:16 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003220056.LAA05197@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003220009.AAA00583@fdy2.demon.co.uk> from Robert Swindells at "Mar 22, 2000 00:09:41 am" To: Robert Swindells Date: Wed, 22 Mar 2000 11:26:16 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Robert, > >5. Sun JIT compiler. > > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > > precompiled Solaris x86 binary without source code. This leaves us > > rather hamstrung in getting this to work. I can only assume that the > > Blackdown folk got access to the source code from Sun. It does, however, > > mean that one gets a lot of annoying messages about it not being > > able to be loaded. Whats needed here, for the moment, is for someone > > to look into preventing this attempt to load it as the default JIT (to > > avoid those annoying messages :). > > Do you think it is worth spending time trying to get libsunwjit to work > instead of porting HotSpot ? > > Robert Swindells I don't see how we can get libsunwjit to work without the source code. Nate has since related that Blackdown got a precompiled version from one of the Sun engineers. I think we're pretty much at a dead end with this the Sun JIT compiler unless someone at Sun decides to help us out :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 17:36: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 289B037BF67 for ; Tue, 21 Mar 2000 17:35:54 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id MAA05432; Wed, 22 Mar 2000 12:05:44 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003220135.MAA05432@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003220042.RAA01855@nomad.yogotech.com> from Nate Williams at "Mar 21, 2000 05:42:27 pm" To: Nate Williams Date: Wed, 22 Mar 2000 12:05:44 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wow Nate, This is exactly the kind of response I'd hoped posting the issues would generate. Thank you :). > The problem with 2.2.8 is that the compiler can't handle the stock Java > sources. Not sure if this is a problem that's worth spending alot of > time on (although my main development box is still running 2.2.8, so > we'll see.) How about installing gcc 2.95.2 (I believe there is still some support for FreeBSD-a.out in its source) on such a box? Thats the only way around it I can think of at the moment. > Or, you can use the JDK1.1 stuff to bootstrap it as well, although > that's a bit more difficult. Ok, I hadn't actually tried bootstrapping things with 1.1. Good point! > > 3. Alpha support. > > The Blackdown work should help here. If not JDK1.2, then the 1.3 work > might be a better place to start for the Alpha team. Right. I don't believe that source code patches are available from Blackdown at the moment though :(. I'm really hoping there will be some in the future though, as they would be most helpful. I believe I found a message in the java-linux archive that stated they were still trying to get legal clearance from Sun to do this though (I have the URL for this at home I'm pretty sure). > > 4. Assembler version of executeJava > > Keith got this work late in the game, and the patches to make it work > are now part of the JDK1.1 patchset. If my memory serves me well, it > had to do with the use of a certain Gas opcode that whacked a register > that we didn't realize. We needed to push/pop one of a register before > calling it, but I don't remember which one. Excellent! I can see that I need to look through the 1.1.8 patches more closely (they've been a great help so far :). > > 5. Sun JIT compiler. > > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > > precompiled Solaris x86 binary without source code. This leaves us > > rather hamstrung in getting this to work. > > This is where I personally gave up. I talked with the Blackdown team at > JavaOne, and they implied that a Sun engineer gave them a binary copy of > the JIT compiled for Linux. This is also where *most* of the speedups > the Linux JDK has over the FreeBSD JDK exist, so unless we get a JIT, > then the 1.2 stuff is going to be *slower* than the 1.1 stuff. > > It seems a bit counter-productive to spend alot of time building a > native version when we can't even run the code at a decent speed after > it's all said and done, and all attempts to motivate Sun or other > vendors have met with extreme resistance. Perhaps we could include shujit or TYA as a default JIT? I'm not sure if either of their licenses allow this or how well they work with the code, but I think its worth looking into. > > 6. Font setup. > > You should be able to use the same files from JDK1.1 as a starting > point. > > I actually spent some time messing with the fonts, and eventually ended > up w/something that looked a lot like the Blackdown file. > > Since we're both using XFree86, it should look similar... Thanks. I'm looking at getting this stuff into the next version :). > > 7. DPS and postscript fonts. > > As part of the build of libfontmanager.so (see > > build/freebsd/sun/font/GNUmakefile) one can optionally enable linking > > with a Display Postscript library (this is the default for the Solaris > > build). I can only assume that this is to enable the use of Postscript > > fonts in Java. > > Actually, this is so you can do 'Print Screen' functionality in JDK. > You need the disply postscript part of the XServer for this to work. Ok! That'll teach me to guess about things! > > 8. Missing shared libraries. > > > > a. audio > > Again, you might look into the JDK1.1 stuff, which had working audio. Thank you, again :). > > b. jdga > > I don't rememeber looking at this. The Blackdown JDK doesn't appear to have this in it, so its currently low on the priority list until someone works out exactly where it fits in :). > > c. cmm > > I don't know what this is. I think I'm going to email the Blackdown folk and see if I can't find out :). > > 9. Merging from 1.1.8 patches. > > I'd like to think I can help here. If not with coding, I can sure help > to answer questions. That would be much appreciated :). > > 12. Rounding bug. > > So, maybe it's not an error. :) I think its certainly not an error, in that FreeBSD DTRT. Its just an issue of bug-for-bug compatibility with the Solaris version. > > 15. GCC versions. > > Kees Jan is currently having problems running Swing / AWT stuff with > > an unresolved reference to "__pure_virtual". He is, however, using a > > different version of gcc. > > I ran into this as well. Again, this has alot to do with the way > G++/GCC linking occurs. I fought this one on 2.2.8 and never did get a > good resolution. You have to make sure that *ALL* the libraries/objects > that are used are built with the same compiler Good advise. I haven't actually attempted to build the JDK beast with the default 3.x compiler (I use gcc 2.95.2 by default, mostly for C++ reasons). It sounds like its time to do so and try and find the problem. I know Kees Jan is looking into it too! > Greg, thanks for doing this. As the most visible member of the porting > team, all I can say is sorry for not doing more. Maybe this will > energize some new folks to jump on board here... Thats what I'm hoping :). I don't think you or the porting team have anything to be sorry about though, this is a volunteer effort after all! -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 17:40:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id A3A9A37BFA4 for ; Tue, 21 Mar 2000 17:40:08 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id SAA02820; Tue, 21 Mar 2000 18:40:04 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id SAA02335; Tue, 21 Mar 2000 18:40:03 -0700 (MST) (envelope-from nate) Date: Tue, 21 Mar 2000 18:40:03 -0700 (MST) Message-Id: <200003220140.SAA02335@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Greg Lewis Cc: Nate Williams , freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003220135.MAA05432@ares.maths.adelaide.edu.au> References: <200003220042.RAA01855@nomad.yogotech.com> <200003220135.MAA05432@ares.maths.adelaide.edu.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > This is exactly the kind of response I'd hoped posting the issues would > generate. Thank you :). Your welcome. > > The problem with 2.2.8 is that the compiler can't handle the stock Java > > sources. Not sure if this is a problem that's worth spending alot of > > time on (although my main development box is still running 2.2.8, so > > we'll see.) > > How about installing gcc 2.95.2 (I believe there is still some support for > FreeBSD-a.out in its source) on such a box? Thats the only way around it > I can think of at the moment. Been there. I ended up with a bunch of __virtual_bletch errors. > > > 3. Alpha support. > > > > The Blackdown work should help here. If not JDK1.2, then the 1.3 work > > might be a better place to start for the Alpha team. > > Right. I don't believe that source code patches are available from > Blackdown at the moment though :(. I'm really hoping there will be some > in the future though, as they would be most helpful. Sun just released the entire blackdown build as SCSL today/yesterday. I downloaded it earlier. Check out the Early Release section on JD Connection. > > > 4. Assembler version of executeJava > > > > Keith got this work late in the game, and the patches to make it work > > are now part of the JDK1.1 patchset. If my memory serves me well, it > > had to do with the use of a certain Gas opcode that whacked a register > > that we didn't realize. We needed to push/pop one of a register before > > calling it, but I don't remember which one. > > Excellent! I can see that I need to look through the 1.1.8 patches more > closely (they've been a great help so far :). Glad to be of help. > > > 5. Sun JIT compiler. > > > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > > > precompiled Solaris x86 binary without source code. This leaves us > > > rather hamstrung in getting this to work. > > > > This is where I personally gave up. I talked with the Blackdown team at > > JavaOne, and they implied that a Sun engineer gave them a binary copy of > > the JIT compiled for Linux. This is also where *most* of the speedups > > the Linux JDK has over the FreeBSD JDK exist, so unless we get a JIT, > > then the 1.2 stuff is going to be *slower* than the 1.1 stuff. > > > > It seems a bit counter-productive to spend alot of time building a > > native version when we can't even run the code at a decent speed after > > it's all said and done, and all attempts to motivate Sun or other > > vendors have met with extreme resistance. > > Perhaps we could include shujit or TYA as a default JIT? I'm not sure if > either of their licenses allow this or how well they work with the code, > but I think its worth looking into. It might not be 'legal' to do so though. We can make it an easy addition, but I don't think we can bundle it as part of the tarballs. One could argue that we're distributing a modified version, and that may lead to legal trouble. > > > b. jdga > > > > I don't rememeber looking at this. > > The Blackdown JDK doesn't appear to have this in it, so its currently > low on the priority list until someone works out exactly where it fits in :). *grin* > > > c. cmm > > > > I don't know what this is. > > I think I'm going to email the Blackdown folk and see if I can't find out :). Great, keep us informed. > > > 9. Merging from 1.1.8 patches. > > > > I'd like to think I can help here. If not with coding, I can sure help > > to answer questions. > > That would be much appreciated :). Fire away! > > Greg, thanks for doing this. As the most visible member of the porting > > team, all I can say is sorry for not doing more. Maybe this will > > energize some new folks to jump on board here... > > Thats what I'm hoping :). I don't think you or the porting team have > anything to be sorry about though, this is a volunteer effort after all! Thanks again! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 18:16:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 457D137BAE0 for ; Tue, 21 Mar 2000 18:16:18 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id MAA05822; Wed, 22 Mar 2000 12:46:06 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003220216.MAA05822@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003220140.SAA02335@nomad.yogotech.com> from Nate Williams at "Mar 21, 2000 06:40:03 pm" To: Nate Williams Date: Wed, 22 Mar 2000 12:46:06 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > The problem with 2.2.8 is that the compiler can't handle the stock Java > > > sources. Not sure if this is a problem that's worth spending alot of > > > time on (although my main development box is still running 2.2.8, so > > > we'll see.) > > > > How about installing gcc 2.95.2 (I believe there is still some support for > > FreeBSD-a.out in its source) on such a box? Thats the only way around it > > I can think of at the moment. > > Been there. I ended up with a bunch of __virtual_bletch errors. Thats not a good sign... In some ways, with the ports tree no longer actively supporting 2.2.8, this will end up being low priority I think. > > Right. I don't believe that source code patches are available from > > Blackdown at the moment though :(. I'm really hoping there will be some > > in the future though, as they would be most helpful. > > Sun just released the entire blackdown build as SCSL today/yesterday. I > downloaded it earlier. Check out the Early Release section on JD > Connection. Great! That should be a big help (well, hopefully :). I'll grab that as soon as I get a chance. Thanks :). > > Perhaps we could include shujit or TYA as a default JIT? I'm not sure if > > either of their licenses allow this or how well they work with the code, > > but I think its worth looking into. > > It might not be 'legal' to do so though. We can make it an easy > addition, but I don't think we can bundle it as part of the tarballs. > One could argue that we're distributing a modified version, and that may > lead to legal trouble. Good point. Not the time to get offside with Sun I think. Making it an easy add on is a good idea too. We could conceivably put a message in the port installation about how you'll have sucky performance unless you install one of these JIT compilers. > > > > c. cmm > > > > > > I don't know what this is. > > > > I think I'm going to email the Blackdown folk and see if I can't find out :). > > Great, keep us informed. Did a bit of sleuthing before I decided to mail. Its loaded by java.awt.color.CMM.java, which is the "Color Management Module". Still doesn't tell me particularly what it does, but its a start ;). You won't find anything about this class in the JDK 1.2 documentation since it has precisely zero javadoc comments. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 18:30:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 91D2C37BF7C for ; Tue, 21 Mar 2000 18:30:12 -0800 (PST) (envelope-from rjs@fdy2.demon.co.uk) Received: (from rjs@localhost) by fdy2.demon.co.uk (8.8.8/8.8.8) id CAA01210; Wed, 22 Mar 2000 02:17:58 GMT (envelope-from rjs) Date: Wed, 22 Mar 2000 02:17:58 GMT Message-Id: <200003220217.CAA01210@fdy2.demon.co.uk> From: Robert Swindells To: glewis@trc.adelaide.edu.au Cc: freebsd-java@freebsd.org In-reply-to: <200003220056.LAA05197@ares.maths.adelaide.edu.au> (message from Greg Lewis on Wed, 22 Mar 2000 11:26:16 +1030 (CST)) Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > >5. Sun JIT compiler. > > > It appears that the Sun JIT compiler (libsunwjit.so) is supplied as a > > > precompiled Solaris x86 binary without source code. This leaves us > > > rather hamstrung in getting this to work. I can only assume that the > > > Blackdown folk got access to the source code from Sun. It does, however, > > > mean that one gets a lot of annoying messages about it not being > > > able to be loaded. Whats needed here, for the moment, is for someone > > > to look into preventing this attempt to load it as the default JIT (to > > > avoid those annoying messages :). > > > > Do you think it is worth spending time trying to get libsunwjit to work > > instead of porting HotSpot ? > > > > Robert Swindells >I don't see how we can get libsunwjit to work without the source code. >Nate has since related that Blackdown got a precompiled version from one >of the Sun engineers. I think we're pretty much at a dead end with this >the Sun JIT compiler unless someone at Sun decides to help us out :). I agree, I just didn't know whether you had looked at the HotSpot source code and decided that it was too hard to port. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 21 18:37: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 0D0E037BF5A for ; Tue, 21 Mar 2000 18:36:58 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id NAA06011; Wed, 22 Mar 2000 13:06:32 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003220236.NAA06011@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003220217.CAA01210@fdy2.demon.co.uk> from Robert Swindells at "Mar 22, 2000 02:17:58 am" To: Robert Swindells Date: Wed, 22 Mar 2000 13:06:32 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I don't see how we can get libsunwjit to work without the source code. > >Nate has since related that Blackdown got a precompiled version from one > >of the Sun engineers. I think we're pretty much at a dead end with this > >the Sun JIT compiler unless someone at Sun decides to help us out :). > > I agree, I just didn't know whether you had looked at the HotSpot source > code and decided that it was too hard to port. > > Robert Swindells Sorry Robert, I had misunderstood your initial statement then :). To be honest, I haven't looked into Hot Spot at all. This is a good point to raise though, but first I want to get the JDK into alpha :). I'm starting to feel the need for a web page to keep track of things publicly, I'll look at setting one up this weekend. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 22 2: 5:26 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 33FB237BA53 for ; Wed, 22 Mar 2000 02:05:11 -0800 (PST) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id LAA10644; Wed, 22 Mar 2000 11:04:54 +0100 (MET) Message-ID: <38D89ACC.27F794CA@jollem.com> Date: Wed, 22 Mar 2000 11:05:00 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: FreeBSD and idltojava? Content-Type: multipart/mixed; boundary="------------4BCF767337BC0BE27AA7BBC5" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------4BCF767337BC0BE27AA7BBC5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, Does anyone know how I can get my hands on an idltojava compiler that works on my FreeBSD 3.4-STABLE system? I run the Blackdown JDK 1.2.2 rc4 (eager for the FreeBSD Java 2 implementation though!) Seems there's only Windoze and Slowaris versions of idltojava :( Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------4BCF767337BC0BE27AA7BBC5 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------4BCF767337BC0BE27AA7BBC5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 22 7:29:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from cbl-skelly3.hs.earthlink.net (CBL-skelly3.hs.earthlink.net [209.178.114.61]) by hub.freebsd.org (Postfix) with ESMTP id 32A8437BE0F for ; Wed, 22 Mar 2000 07:29:08 -0800 (PST) (envelope-from kelly@ad1440.net) Received: from cumin (cumin.rosetta.zon [172.16.16.106]) by cbl-skelly3.hs.earthlink.net (8.9.2/8.9.2) with SMTP id HAA15866; Wed, 22 Mar 2000 07:28:55 -0800 (PST) (envelope-from kelly@ad1440.net) Message-ID: <009a01bf9413$3e7f8fe0$6a1010ac@rosetta.zon> From: "Sean Kelly" To: "Ernst de Haan" , References: <38D89ACC.27F794CA@jollem.com> Subject: Re: FreeBSD and idltojava? Date: Wed, 22 Mar 2000 07:28:15 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You can use the "jidl" executable that comes with Orbacus. You can get Orbacus in source code form from http://orbacus.com/. There's a port for Orbacus as well in /usr/ports/devel/ORBacus. Take care. --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 22 7:52:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 2253637BDE6 for ; Wed, 22 Mar 2000 07:52:41 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id CAA34736 for freebsd-java@freebsd.org; Thu, 23 Mar 2000 02:22:38 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003221552.CAA34736@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003212338.KAA04014@ares.maths.adelaide.edu.au> from Greg Lewis at "Mar 22, 2000 10:08:18 am" To: freebsd-java@freebsd.org Date: Thu, 23 Mar 2000 02:22:37 +1030 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 8. Missing shared libraries. > c. cmm This is now compiling :). Maybe some brief testing tomorrow (not that I have any real clue how its used still ;). Thanks to Nate for pointing out that the Linux source was now available. I basically cribbed the patches from that, with a few exceptions. Unfortunately this stuff as it stands relies on SysV sempahores and IPC, which is now included in GENERIC I know, but still. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 22 13:41:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id E758937B530 for ; Wed, 22 Mar 2000 13:41:23 -0800 (PST) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id WAA04054; Wed, 22 Mar 2000 22:41:09 +0100 (MET) Message-ID: <38D93DF9.60A7D036@jollem.com> Date: Wed, 22 Mar 2000 22:41:13 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Sean Kelly Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD and idltojava? References: <38D89ACC.27F794CA@jollem.com> <009a01bf9413$3e7f8fe0$6a1010ac@rosetta.zon> Content-Type: multipart/mixed; boundary="------------D0B2286C801CC7479024D288" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------D0B2286C801CC7479024D288 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you very much, Sean, I will check it out :)= Ernst Sean Kelly wrote: > > You can use the "jidl" executable that comes with Orbacus. > > You can get Orbacus in source code form from http://orbacus.com/. > > There's a port for Orbacus as well in /usr/ports/devel/ORBacus. > > Take care. > --Sean > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------D0B2286C801CC7479024D288 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------D0B2286C801CC7479024D288-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 23 2:14: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id B9E4A37B61F for ; Thu, 23 Mar 2000 02:14:01 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNDCBV6B5U000ZJZ@research.kpn.com> for freebsd-java@FreeBSD.ORG; Thu, 23 Mar 2000 11:13:53 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Thu, 23 Mar 2000 11:13:53 +0100 Content-return: allowed Date: Thu, 23 Mar 2000 11:13:44 +0100 From: "Koster, K.J." Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues To: "'nate@yogotech.com'" Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522013139C7@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I personally got really burned out trying to work the > vendors, hence my personal lack of involvement lately. > I'm sorry to hear that. If I may make a suggestion: read "Calvin and Hobbes". It's guaranteed to make you go to work with a grin. It works for me. Could you perhaps be more specific in how the Big Vendors(tm) brushed you off? Perhaps they have a specific objection to Java being available on FreeBSD? Did they just flatly refuse to speak to you? > > > 12. Rounding bug. > > So, maybe it's not an error. :) > Let's settle for "it's a difference". :-) As such, it may need to be solved, because anyone doing even simple numerics on a Sun and a FreeBSD box is going to be pulling his or her hair out. *sigh* I can see the solution now: #ifdef __FreeBSD__ switch(val) { case -3.5: val = -4.0; break; case -2.5: val = -3.0; break; ... } #endif Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 23 17: 8:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 93B5A37C62A for ; Thu, 23 Mar 2000 17:08:04 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id LAA35029 for freebsd-java@freebsd.org; Fri, 24 Mar 2000 11:37:59 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003240107.LAA35029@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003212338.KAA04014@ares.maths.adelaide.edu.au> from Greg Lewis at "Mar 22, 2000 10:08:18 am" To: freebsd-java@freebsd.org Date: Fri, 24 Mar 2000 11:37:59 +1030 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 4. Assembler version of executeJava Another one bites the dust :). All it needed was to use the patch from the 1.1.8 patch set *blush*. My priorities now are the audio code and the font setup. I'd also love to see people testing things out on 4.0 and preferably sending me fixes/reports (until I can get access to a 4.0 box this isn't something that I'm able to fix/test myself). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 24 7:53:28 2000 Delivered-To: freebsd-java@freebsd.org Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by hub.freebsd.org (Postfix) with SMTP id 75A6E37B506 for ; Fri, 24 Mar 2000 07:53:21 -0800 (PST) (envelope-from GARY.R.SHAFFER@saic.com) Received: from cpmx.saic.com by portal.west.saic.com via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 24 Mar 2000 15:53:16 UT Received: from [139.121.95.12] by cpmx.mail.saic.com; Fri, 24 Mar 2000 07:52:24 -0800 Received: from cp-its-exbh01.mail.saic.com ([139.121.95.34]) by 139.121.95.12 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 24 Mar 2000 15:52:23 0000 (GMT) Received: by cp-its-exbh01.mail.saic.com with Internet Mail Service (5.5.2650.21) id ; Fri, 24 Mar 2000 07:52:20 -0800 Message-Id: <9C4E165721F7D311AC3D00805FBBB118312DE8@US-SD-PLTC.mail.saic.com> From: "Shaffer, Gary R" To: 'Greg Lewis' , freebsd-java@FreeBSD.ORG Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues Date: Fri, 24 Mar 2000 07:50:58 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg, First of all, THANKS for all the effort... A lot of people are wondering if a native JDK1.2.2 port is necessary or not.. I belive it is, even if the performance sucks because there is not JIT. There is more to JDK1.2.2 than JFC/Swing. I have been unsuccessful in getting out CORBA based applications to run under FreeBSD using the Linux port. We have also been unsuccessful in getting JNI, JCE, and JSSE all to work correclty. Just my 2 cents worth... I would like to help by testing the jdk. All of my FreeBSD boxes at home are 4.0-STABLE so my question to you is when are you going to make a newer set of patches available? I have all of the source downloaded and ready to go. Once again thanks for the effort. Regards, GRS --- Gary R. Shaffer gary.r.shaffer@saic.com Program Manager/Senior Software Engineer shafferg@saic.com Science Applications International Corporation (v) 858-826-5746 4035 Hancock Street, M/S T-2, San Diego CA. 92110 -----Original Message----- From: Greg Lewis [mailto:glewis@trc.adelaide.edu.au] Sent: Friday, March 24, 2000 1:08 AM To: freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues > 4. Assembler version of executeJava Another one bites the dust :). All it needed was to use the patch from the 1.1.8 patch set *blush*. My priorities now are the audio code and the font setup. I'd also love to see people testing things out on 4.0 and preferably sending me fixes/reports (until I can get access to a 4.0 box this isn't something that I'm able to fix/test myself). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 24 11: 6: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by hub.freebsd.org (Postfix) with SMTP id 97B3437B6CF for ; Fri, 24 Mar 2000 11:05:47 -0800 (PST) (envelope-from GARY.R.SHAFFER@saic.com) Received: from cpmx.saic.com by portal.west.saic.com via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 24 Mar 2000 19:05:42 UT Received: from [139.121.95.12] by cpmx.mail.saic.com; Fri, 24 Mar 2000 11:04:55 -0800 Received: from cp-its-exbh01.mail.saic.com ([139.121.95.34]) by 139.121.95.12 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 24 Mar 2000 19:04:54 0000 (GMT) Received: by cp-its-exbh01.mail.saic.com with Internet Mail Service (5.5.2650.21) id ; Fri, 24 Mar 2000 11:04:50 -0800 Message-Id: <9C4E165721F7D311AC3D00805FBBB118312DEA@US-SD-PLTC.mail.saic.com> From: "Shaffer, Gary R" To: "'Koster, K.J.'" Cc: freebsd-java@FreeBSD.ORG Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues Date: Fri, 24 Mar 2000 11:03:29 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org JNI is the Java Native Interface and lets Java code talk to native libraries written in other languages. We use it to interface the the JavaCOMM API so we can interface with GPS hardware. JCE (Java Cryptographic Extensions), and JSSE (Java Secure Socket Extensions) are Sun extensions to JDK2. As for the CORBA applications, the company I work for, SAIC, is developing them for a customer that I can not name.... In my email, I was trying to make the point that although you can run the Linux/Blackdown JDK, the possibilities exist that not all java code/applications/extensions will work....That is why a native FreeBSD port would be a perfect fit... -----Original Message----- From: Koster, K.J. [mailto:K.J.Koster@kpn.com] Sent: Friday, March 24, 2000 5:30 PM To: 'Shaffer, Gary R' Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues Hi Gary, > > First of all, THANKS for all the effort... A lot of people > are wondering if > a native JDK1.2.2 port is necessary or not.. I belive it is, > even if the > performance sucks because there is not JIT. There is more to > JDK1.2.2 than > JFC/Swing. I have been unsuccessful in getting out CORBA > based applications > to run under FreeBSD using the Linux port. We have also been > unsuccessful in > getting JNI, JCE, and JSSE all to work correclty. Just my 2 > cents worth... > Could you point me to the products that you have been unable to install? I will try them too. Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 24 12:22:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 91FD837B780 for ; Fri, 24 Mar 2000 12:22:44 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA03890; Fri, 24 Mar 2000 13:22:36 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id NAA09615; Fri, 24 Mar 2000 13:22:35 -0700 (MST) (envelope-from nate) Date: Fri, 24 Mar 2000 13:22:35 -0700 (MST) Message-Id: <200003242022.NAA09615@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Shaffer, Gary R" Cc: "'Koster, K.J.'" , freebsd-java@FreeBSD.ORG Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <9C4E165721F7D311AC3D00805FBBB118312DEA@US-SD-PLTC.mail.saic.com> References: <9C4E165721F7D311AC3D00805FBBB118312DEA@US-SD-PLTC.mail.saic.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > JNI is the Java Native Interface and lets Java code talk to native libraries > written in other languages. We use it to interface the the JavaCOMM API so > we can interface with GPS hardware. > JCE (Java Cryptographic Extensions), and JSSE (Java Secure Socket > Extensions) are Sun extensions to JDK2. The JNI stuff won't work (obviously), but I'm suprised that JCE and JSSE don't work with the Blackdown port, or do they use JNI? > As for the CORBA applications, the company I work for, SAIC, is developing > them for a customer that I can not name.... *grin* Seems like you folks are doing almost the exact same things I did at my former employer, for an un-named customer. :) > In my email, I was trying to make the point that although you can run the > Linux/Blackdown JDK, the possibilities exist that not all java > code/applications/extensions will work....That is why a native FreeBSD port > would be a perfect fit... Agreed. Nate > -----Original Message----- > From: Koster, K.J. [mailto:K.J.Koster@kpn.com] > Sent: Friday, March 24, 2000 5:30 PM > To: 'Shaffer, Gary R' > Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues > > > Hi Gary, > > > > > First of all, THANKS for all the effort... A lot of people > > are wondering if > > a native JDK1.2.2 port is necessary or not.. I belive it is, > > even if the > > performance sucks because there is not JIT. There is more to > > JDK1.2.2 than > > JFC/Swing. I have been unsuccessful in getting out CORBA > > based applications > > to run under FreeBSD using the Linux port. We have also been > > unsuccessful in > > getting JNI, JCE, and JSSE all to work correclty. Just my 2 > > cents worth... > > > Could you point me to the products that you have been unable to install? I > will try them too. > > Kees Jan > > ============================================== > You are only young once, > but you can stay immature all your life > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 24 13:20:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 53FAE37BB41 for ; Fri, 24 Mar 2000 13:20:48 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id HAA53949; Sat, 25 Mar 2000 07:50:37 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003242120.HAA53949@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <9C4E165721F7D311AC3D00805FBBB118312DE8@US-SD-PLTC.mail.saic.com> from "Shaffer, Gary R" at "Mar 24, 2000 07:50:58 am" To: "Shaffer, Gary R" Date: Sat, 25 Mar 2000 07:50:37 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Gary, > I would like to help by testing the jdk. All of my FreeBSD boxes at home are > 4.0-STABLE so my question to you is when are you going to make a newer set > of patches available? Since I'm doing this in my free time, I wouldn't really like to tie myself down to a release schedule. Having said that, I am very hopeful of getting out a new set this weekend which will incorporate the more recent fixes and some excellent work by Kees Jan Koster to get things working under the standard FreeBSD 3.x version of gcc (2.7.2.3 I believe). > I have all of the source downloaded and ready to go. Well, I will note that the new patch set won't do anything with regards to fixing 4.0 problems unless someone sends me some diffs for it between now and when I roll the new patches. > Once again thanks for the effort. No worries :). I'm just scratching my own itch ;). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 24 13:23:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 31F2637BAAF for ; Fri, 24 Mar 2000 13:23:46 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id HAA53978; Sat, 25 Mar 2000 07:53:36 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200003242123.HAA53978@ares.maths.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003242022.NAA09615@nomad.yogotech.com> from Nate Williams at "Mar 24, 2000 01:22:35 pm" To: Nate Williams Date: Sat, 25 Mar 2000 07:53:35 +1030 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > JNI is the Java Native Interface and lets Java code talk to native libraries > > written in other languages. We use it to interface the the JavaCOMM API so > > we can interface with GPS hardware. > > JCE (Java Cryptographic Extensions), and JSSE (Java Secure Socket > > Extensions) are Sun extensions to JDK2. > > The JNI stuff won't work (obviously), but I'm suprised that JCE and JSSE > don't work with the Blackdown port, or do they use JNI? Notionally you could get the JNI stuff working with the Linux version of gcc in the linux-devel port yeah? Admittedly this would be a pain in the backside, especially when compiling a complex application like Swarm (www.swarm.org) which uses a bunch of third party shared libraries. In fact, JNI is the biggest single reason that motivated me :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message