Community
Participate
Working Groups
I'm getting an "Internal compiler error" (see attachment) with 3.1 RC1 when compiling a file with the following switch statement over enum values: switch (tableConfigType) { case AGGREGATION: return AggregationDefConfigurationManager.getManagerFor(url); case COLUMN: return ColumnDefConfigurationManager.getManagerFor(url); case FILTER: return FilterDefConfigurationManager.getManagerFor(url); case HIGHLIGHTING: return HighlightingDefConfigurationManager.getManagerFor(url); case SORTING: return SortingDefConfigurationManager.getManagerFor(url); default: assert false; } When I replace this with the following, the compilation finishes correctly: if (tableConfigType == TableConfigType.AGGREGATION) { return AggregationDefConfigurationManager.getManagerFor(url); } else if (tableConfigType == TableConfigType.COLUMN) { return ColumnDefConfigurationManager.getManagerFor(url); } else if (tableConfigType == TableConfigType.FILTER) { return FilterDefConfigurationManager.getManagerFor(url); } else if (tableConfigType == TableConfigType.HIGHLIGHTING) { return HighlightingDefConfigurationManager.getManagerFor(url); } else if (tableConfigType == TableConfigType.SORTING) { return SortingDefConfigurationManager.getManagerFor(url); } else { assert false; }
Created attachment 22007 [details] Build log
Olivier - pls double check *** This bug has been marked as a duplicate of 97247 ***
Indeed. This is a duplicate. Could you please try next build and confirm this is fixing this issue?
I can confirm that this problem is fixed in eclipse-SDK-N20050602-0010-win32.
Thanks for having verified it