Tests using Java 5 Language Features
This activity creates test classes for new language features in Java 5, namely enums and generics.
- Depending on the resolution of how the JDO spec addresses the new Java 5 language features (Java5FeaturesAndJDO), test classes are needed that use enums and generics as field types and persistence-capable classes.
- Those test classes require to be compiled with JDK 1.5. If we added those classes to the modules' test directory (tck11/test, tck20/test, etc.), those modules would not build with JDK 1.3 and 1.4 anymore. On the other hand, we want to avoid duplicating tests and persistence-capable test classes.