This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Should we build a superset of Java?
- To: java at gcc dot gnu dot org
- Subject: Re: Should we build a superset of Java?
- From: Paul Mclachlan <pdm at acm dot org>
- Date: Wed, 4 Apr 2001 16:40:10 -0400
- References: <m3snjo63xh.fsf@relativity.yi.org>
At 9:11 04 Apr 2001 -0700, Kevin A. Burton wrote:
> It has bothered me for a long time that SUN hasn't opened up Java to a peer
> review process (no... the JCP does not count). I have a number of small things
> I would like to see added to Java and GCJ seems like a great way to standardize.
>
> Then you would end up with nested Exceptions. Java currently doesn't support
> this (except if you build it). I think it is a logical extension but there is
> no way I am going to go through the JCP to get this added.
>
> Has anyone defined a way GCJ is going to add language extensions this in the
> future? Remember we don't have a standards committee :)
I would encourage you to -not- do this; at the very least, the Java community
(myself included) rarely appreciates extensions that will stop your code being
portable between implementations. And the next release (1.4) of Java supports
nested exceptions, if that's your beef. ;)
- Paul
--
Paul Mclachlan (paul.mclachlan@numega.com)
Software Engineer, Java Tools. NuMega Lab, Compuware corp.