22 Jun 2007 twisti   » (Master)

Portable OpenJDK

Here is another output of the prop testcase:


$ cacao prop
LOG: [0x30020bd0] JVM_GetStackAccessControlContext:
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x1008a0f0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x1008aa50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x1008cc30, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x1008c690, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x10094d20, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x10094a50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x1008aa50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x10094870, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100944b0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100942d0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x10046690, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_FindSignal: name=HUP
LOG: [0x30020bd0] JVM_RegisterSignal: sig=0, handler=0x2,
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_FindSignal: name=INT
LOG: [0x30020bd0] JVM_RegisterSignal: sig=0, handler=0x2,
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_FindSignal: name=TERM
LOG: [0x30020bd0] JVM_RegisterSignal: sig=0, handler=0x2,
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100aaa50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_GetStackAccessControlContext:
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100acf00, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100ad4b0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100ad3c0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100b03c0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_GetStackAccessControlContext:
IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100baa50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100baa50, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100ba3c0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100ba0f0, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100cc960, IMPLEMENT ME!
LOG: [0x30020bd0] JVM_DesiredAssertionStatus:
cls=0x100d0c30, IMPLEMENT ME!
#all properties:
#Fri Jun 22 12:30:16 GMT+01:00 2007
java.runtime.name=OpenJDK Runtime Environment
sun.boot.library.path=/home/twisti/cacao/sun/openjdk/jdk/control/build/linux-ppc-fastdebug/lib/ppc/
java.vm.version=0.98+svn
java.vm.vendor=CACAO Team
java.vendor.url=http\://java.sun.com/
path.separator=\:
java.vm.name=CACAO
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/twisti/cacao/cacao-sun/tests
java.runtime.version=1.7.0-internal-fastdebug-twisti_21_jun_2007_21_30-b00
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
os.arch=ppc
java.io.tmpdir=/tmp
line.separator=\n
java.vm.specification.vendor=Sun Microsystems Inc.
os.name=Linux
sun.jnu.encoding=ANSI_X3.4-1968
java.specification.name=Java Platform API Specification
java.class.version=50.0
os.version=2.6.18-4-powerpc
user.home=/home/twisti
user.timezone=GMT+01\:00
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ANSI_X3.4-1968
java.specification.version=1.7
java.class.path=.
user.name=twisti
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=/home/twisti/tmp/cacao-sun/jre
user.language=en
java.specification.vendor=Sun Microsystems Inc.
java.version=1.7.0-internal-fastdebug
sun.boot.class.path=/home/twisti/cacao/sun/openjdk/jdk/control/build/linux-ppc-fastdebug/classes/
java.boot.class.path=/home/twisti/cacao/sun/openjdk/jdk/control/build/linux-ppc-fastdebug/classes/
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeBig
sun.cpu.endian=big
sun.desktop=gnome
sun.cpu.isalist=

For those who are saying now: "Hey! That's the same output as the last one with the same unimplemented functions!", look at the output again! (hint: os.arch!!!).

I built the OpenJDK completely with CACAO and free GNU Classpath tools. But the build is not complete, there is still some stuff missing and I need to figure out why it does not work. But it's enough to run a bunch of programs on Java 1.7 on PowerPC (and maybe other architectures, will try that) :-)

I will write down more detailed information about how to build this whole thing here.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!