Hello, Anthony!

All these patches are really for the changes I've made to Classpath v0.10-v0.93 
long ago (1-5 years ago). As I was quite busy with my project and always one 
step (at least) behind the Classpath version, I had never committed to it. Now 
I'm upgrading the patches for recent Classpath snapshot and pushing them to the 
community.

As for Classpath usage, my project is a tool for translating Java source to C - 
JCGO (http://www.ivmaisoft.com/jcgo/). In 2004, I've migrated from J2RE v1.3 to 
Classpath mostly because it's open-source. (I also appreciated the Classpath 
idea of VM classes - I rewrote most platform-specific and JavaVM-specific code 
in Java leaving only trivial library function calls in C code. BTW, if OpenJDK 
and Harmony had the same concept of VM classes, it would be easier migrate from 
one to another (or use parts from different core classes libraries.)

At present I'm still using Classpath v0.93 (at it's the last one conforming to 
JLS v2) in my tool but thinking how to enable java generics processing (and to 
move to the recent Classpath). At present, I'm working on a decompiler which 
should process classes generated by JDK6 javac but produce source conforming to 
JLS v1 (with some exception, of course). There already exist tools of that kind 
(e.g. JadRetro+JAD (http://jadretro.sf.net) produces source conformant to JLS 
v2) but they are either non-free or/and produce buggy code for some legacy 
language constructions (like enums).

As for Locale class, my tools complained about a circularity dependency during 
class initialization, so I've changed the class implementation (luckily, there 
is no need to call toUpperCase() and intern() for everything during Locale 
clinit except for defaultLocale). (It turned out to be a bit faster as, at 
least, intern() call is eliminated during clinit and clone(), but it wasn't my 
original goal.)

Mon, 28 Jun 2010 14:00:23 -0400 Anthony Green <gr...@redhat.com>:

> 
> Hi Ivan,
> 
>   Thanks for all of these great patches.   Just out of curiosity, what
>   has inspired you to do all of this work?   Are you using Classpath for
>   an interesting project?
> 
> Thanks!
> 
> Anthony Green

Regards.

Reply via email to