Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 10:04:08 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Pre-alpha JDK 1.2.2 patches -- update
Message-ID:  <200004010034.KAA21600@ares.trc.adelaide.edu.au>
In-Reply-To: <20000401083125X.fuyuhik8@is.titech.ac.jp> from Fuyuhiko Maruyama at "Apr 1, 2000 08:31:25 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Fuyuhiko-san,
 
> I'm very happy with pre-alpha JDK 1.2.2 patches and try to write here
> some problems and informations.  I hope it help porting efforts.

It does indeed!  Thank you :).

> *PROBLEMS*
> 
> First, freebsd-jdk122-patches-[34] version of JDK cannot be used to
> bootstrap another builds because it doesn't include 
> com/sun/tools/javah/resources/FreeBSD_i386.properties into tools.jar.
> It means javah doesn't work.
> 
> To fix this problem:
> 1) Touch `src/share/classes/com/sun/tools/javah/resources/FreeBSD_i386.properties'
>    to make empty file named `FreeBSD_i386.properties'.
> 
> 2) Modify (patch is attached at this mail)
>    `freebsd/com/sun/javah/GNUmakefile' to handle `FreeBSD_i386.properties'
>    instead of Solaris's one.

Great!  Patches are even better than problem reports :-).

> Second problem, freebsd-jdk122-patches-4 makes garbage:
> 
> build/freebsd/makefiles/Rules.gmk.rej
> build/freebsd/makefiles/Rules.gmk.rej.orig
> src/freebsd/native/java/io/UnixFileSystem_md.c.rej
> src/freebsd/native/java/io/UnixFileSystem_md.c.rej.orig
> 
> I think these are included in patch-file's self.

They are :(.  Mea culpa.  I'll get rid of them asap.

> *QUESTION*
> Why does FreeBSD version treat file access in complex way?
> Solaris have special system calls for accessing 64bit-sized filesystem
> and not all version have those calls.  I think this is the reason why
> original codes are complex.  But, all FreeBSD can access 64bit-sized
> filesystem with normal system calls, so I think there isn't any reason
> to inherit those complexities in FreeBSD's native version.
> 
> Very simple patch to clean-up those codes are attached at this mail.

Thank you again :).  I'll take a lot at this as soon as I can.

> *INFORMATION*
> I have tried to use two third party JIT compilers with FreeBSD's
> JDK1.2.2 and found those work!
> 
> Here is the two JIT compilers:
> OpenJIT-1.1.10:  http://www.openjit.org/
> shujit-0.4.2:    http://www.shudo.net/jit/
> 
> shujit-0.4.2 needs some modifications to fit FreeBSD's JDK1.2.2 but it
> had already done (I reported to Shudoh-san).  I beleive Shudoh-san
> make new release to support our FreeBSD JDK1.2.2!

Good news!  I think that leaves TYA as the only untested free JIT that I
know of.  Anyone think of any others?

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004010034.KAA21600>