| Color enumeration which demonstrates how to break the enum system.
The class loader sees the two classes here as independent - the enum
class is nested, not an inner class. Calling getEnumList() on ColorEnum
will return an empty list, unless and until the NestBroken class is
referenced.
author: Stephen Colebourne version: $Id: NestBroken.java 437554 2006-08-28 06:21:41Z bayard $ |