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
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches