harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <m...@leosimons.com>
Subject Re: [jchevm] Harmony Class Lib does "Hello World" on a GNU Classpath JVM
Date Fri, 10 Mar 2006 12:37:16 GMT
On Wed, Mar 08, 2006 at 03:49:36PM -0800, Weldon Washburn wrote:
> I can now run the below multithread Hello.java on JCHEVM using Apache
> Harmony Class Library.


> Runtime.java -- expected "wrapper" code. e.g., add VMRuntime.exit() to
> Runtime.exit()
> Method.java, Field.java, Constructor.java -- minor mods
> System.java -- added VMSystem.setOut, setErr... etc
> ThreadGroup.java  -- wrappers
> Class.java  -- wrappers
> Object.java -- wrappers
> String.java -- implemented a very simple intern()
> Thread.java -- added a bunch of fields that JCHEVM accesses, added
> code to start() to create ThreadGroup.root if it does not already
> exist
> Throwable.java  -- wrappers
> ClassLoader.java -- commented out "abstract" keyword on class
> definition (too lazy to create a sub-class), added fields that JCHEVM
> accesses, added code getSystemClassLoader to actually create an object
> and stuff it in systemClassLoader if it does not already exist. added
> a bunch of wrapper code.
> OSMemory -- hacked out a bunch of stuff that was in the way
> OSFileSystem -- add an ugly hack in writeImpl() to revector chars to
> Thread.setPriority()
> One last item.  I don't know which SVN repository to place this work
> in.  Any suggestions?

First step is always to create a patch and put it in jira or send it to
the mailing list.

I am guessing that with some additional work these kinds of changes can
just go into the trunk/ for the respective source code?


View raw message