On Fri, Mar 10, 2006 at 04:37:16AM -0800, Leo Simons wrote: > 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. > > Cool! >
contratulations from my side as well, excellent work! cheers, dalibor topic > > 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? > > - LSD