This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GJ: A Generic Java


Tom Tromey wrote:
> There have been Java implementations with generics for a while now --
> "pizza" had generics.  If they end up in the official Java, though,
> that would be cool.  It would also be a lot more work for Alex...

It is unofficially in official Java.  I believe you just have to
invoke GJMain instead of Main in the com.sun.tools.javac package:

% java com.sun.tools.javac.GJMain <filename>.java 

I belive this is only available in the 1.3 JDK and later...  The
rumors I've heard is that the code is just the GJ reference
implementation that's been available separately for a while now.

-Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       tullmann@cs.utah.edu
 Thisemailhasbeenbroughttoyoubycocacolafavoredbyprogrammerseverywhere

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]