classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] [RFC] JSSE 1.5 classes and methods


From: Chris Burdess
Subject: Re: [cp-patches] [RFC] JSSE 1.5 classes and methods
Date: Tue, 13 Sep 2005 08:52:18 +0100

Casey Marshall wrote:
I'm looking for comments about this approach, since I imagine it is
controversial; this looks closely compatible with 1.5, according to
japicompat, but I'm not sure if that level of compatibility is close
enough. There are a couple alternatives to a new class under 'gnu':

   - Implement a pre-1.5 java.lang.Enum, and use that.

I don't like that idea. It sounds like it could cause a lot of confusion down the line.

   - Don't use any superclass, and treat the two enums as one-off
types that contain all the methods they currently inherit from the
superclass.

That would be more acceptable, but I think gnu.java.lang.PseudoEnum is better.
--
Chris Burdess





reply via email to

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