Hi Eike, >> We would need to explicitly check this, but in my understanding the only >> language binding where this is (compile-time) incompatible is C++. In >> Java, it should be compile-time compatible, and perhaps even >> runtime-compatible. All other language bindings should be completely >> agnostic of such a change. > > If I understood correctly back years ago, changing an enum is not > possible because in Java there is the Enum object that bails out if the > value encountered during runtime doesn't match the set declared at > compile time.
Interesting. Okay, this would be a point *against* extending an enum - at least against changing it too easily. However, seeing the bunch of Foo2 types introduced by that in the given case, it might be ... yes yes yes, shutting up now :) Thanks & Ciao Frank -- - Frank Schönheit, Software Engineer [email protected] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
