Finally, generics in Java?


Subject: Finally, generics in Java?
From: Jonathan Aldrich (jonal@cs.washington.edu)
Date: Fri Mar 30 2001 - 16:42:18 PST


Someone asked about using AspectJ with GJ on the AspectJ email list.
According to Jim Hugunin, who responded, there's a proposal to add
something like GJ to Java that's being taken seriously by Sun.
Unfortunately, you can't get the draft until they release it publicly,
because it requires you to be a member of the "Java Community Process,"
which costs $2000 (!!) for educational institutions.

Lots of follow-up possibilities...MultiGJ, ArchGJ, you name it!

Jonathan :-)

---------- Forwarded message ----------
Date: Fri, 30 Mar 2001 14:00:42 PST
From: "Hugunin, Jim <hugunin@parc.xerox.com>" <hugunin@parc.xerox.com>

Right now, it's not possible to use both GJ and AspectJ on the same
project. The two compilers are just not at all compatible (as you point
out). In an ideal world, there would be a wonderful Open Source
extensible compiler framework for Java that both GJ and AspectJ would be
built on top of, and they would seamlessly interoperate along with all
other extensions to Java that you might be interested in, but that's not
the case (yet?).

However, on October 9, 2000, the Java Community Process approved a
proposal to add generic types to Java that is largely based on GJ. Any
day now, we expect to see this proposal released to public review and
hopefully accepted by the community. When this happens we are committed
to moving very rapidly to add support for generic types to AspectJ in
accordance with this proposal. Everyone on the AspectJ team is looking
forward to this, because we too would really like to be able to write code
that includes both aspects and generic types.

_______________________________________________
Cecil mailing list
Cecil@cs.washington.edu
http://majordomo.cs.washington.edu/mailman/listinfo/cecil



This archive was generated by hypermail 2b25 : Fri Mar 30 2001 - 16:43:04 PST