Of course, the reverse is also possible, i.e. open source runtimes working with the JDK class libraries. This doesn't even need the release of the class-library source to happen. The HotSpot source reveals all that is needed to implement the interface.
From brief looking at the interface, I would say it would be easier
for an open-source runtime to use the JDK class library than for Classpath to use HotSpot. In particular, reflection handling seems to be largely done outside the VM. Rob. On 11/14/06, Sven de Marothy <sven@xxxxxxxxx> wrote:
Yup, I've been pondering that since they announced their plans. I'd even suggested to Webmink that I'd like to see Hotspot released early for that reason. I wouldn't take credit for the fact - but it seems I got what I asked for. (In fact it seems it's playing out such that I'm getting exactly what I asked for :)) Anyway, yes, I think we defininitely want to get CP working with HotSpot as soon as possible. I also think that we should move to make our VM interfaces compatible as soon as possible. That is, unless it turns out that their VM interface is absolutely horrible. (Or we could chose to support both) /Sven