• Bug
  • Status: Resolved
  • 2 Major
  • Resolution: Won't Fix
  • DSO:L1
  • teck
  • Reporter: teck
  • November 07, 2007
  • 0
  • Watchers: 0
  • September 06, 2013
  • September 06, 2013

Description

The internal implementation of java.util.EnumSet has two flavors (RegularEnumSet and JumboEnumSet). The regular version is used for enum types with 64 or fewer values, the jumbo version is all other enums.

As proved by the EnumTest system test, the “regular” case works. By try creating a clustered EnumSet with an enum with 64+ values and you’ll get a non-portable exception for java.util.JumboEnumSet.

Comments

Fiona OShea 2007-11-08

Did someone run into this?

Tim Eck 2007-11-08

I just noticed it is a bug looking at the code – I can’t imagine many people will ever hit this