[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Branch for generics

From: Matthias Pfisterer
Subject: Re: Branch for generics
Date: Wed, 11 Aug 2004 09:48:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1


I' happy to see movement in this area!

In spring, I started implementing generics. However, I'm now doing my master's thesis, so I'm busy and stalled development. I'll send you my development state in a private mail. Use at your will.

And a remark to the conditions: "a majority of VMs" could perhaps really mean "a majority of compilers". As far as I remember, the changes in the class format used for generics are backward-compatible. Indeed, I had no problems to run code using generics and compiled by the javac of the JDK 1.5 with the VM of the JDK 1.4.


Tom Tromey wrote:
I'm going to make a branch for generics work, including all the other
parts of 1.5; for the most part these rely on generics and can't be
done independently anyway.  I plan to name it "generics-branch".

* Commit rules.
  Only commit changes related to generics or other 1.5 work; other
  changes should go on the trunk (so no sneaking random changes in
  via the branch :-).
  Post your patches as usual, but put `[generics]' in the Subject.
  There is no need for approval for these patches.

* Lifetime.
  I propose we merge the branch to mainline when two criteria are met:

  1. A majority of Classpath-using VM implementors agree that they
  have access to a compiler suitable for compiling the branch.

  2. A majority of Classpath-using VMs can actually use this version
  of Classpath, though perhaps not perfectly.  (In particular here
  I'm thinking that it is probably ok if the new reflection code does
  not work -- the VM will still be able to bootstrap, it just won't
  implement all of 1.5 faithfully.)

* What's there.
  So far I've written Iterable and converted a good chunk of the
  existing collections classes.  None of this has been compiled at
  all yet.  Feel free to help out, there is plenty to do :-)

I'm personally planning to use this code to help debug the generics
(and other 1.5 stuff) in gcjx; hopefully it can serve the same purpose
for the generics branch of jikes.  (Probably a quicker route to a free
1.5-ish compiler will be via Eclipse ...)


Classpath mailing list

Matthias Pfisterer      address@hidden
Reuchlinstrasse 28      phone ++49-711-62 87 12
D-70176 Stuttgart       (in Deutschland 0711-62 87 12)

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):

Tritonus, the open source implementation of the Java Sound API:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]