This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: GJ: A Generic Java
- To: Tom Tromey <tromey at cygnus dot com>
- Subject: Re: GJ: A Generic Java
- From: Patrick Tullmann <tullmann at cs dot utah dot edu>
- Date: Fri, 28 Jan 2000 15:34:26 -0700
- Cc: Andrew Haley <aph at cygnus dot remove dot co dot uk>, java-discuss at sourceware dot cygnus dot com
- References: <86s7m9$7cv$1@korai.cygnus.co.uk> <200001282218.OAA20727@ferrule.cygnus.com>
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