| author | Patrick Wienands | 2012-11-07 10:08:14 (EST) |
|---|---|---|
| committer | Jayaprakash Arthanareeswaran | 2012-11-15 00:17:57 (EST) |
| commit | b792e26f98559bbb14d03553a6dfe4294a871087 (patch) (side-by-side diff) | |
| tree | 025994b81c8e9a7179fb66caf877679ecbc9fdb1 | |
| parent | 13317b2b1755b588d7df0fb146a9d7c029ecd47e (diff) | |
| download | eclipse.jdt.core-b792e26f98559bbb14d03553a6dfe4294a871087.zip eclipse.jdt.core-b792e26f98559bbb14d03553a6dfe4294a871087.tar.gz eclipse.jdt.core-b792e26f98559bbb14d03553a6dfe4294a871087.tar.bz2 | |
Fix for bug 393749 - Static initializer in enum after 2000th enumv20121115-051757
constant will not be generated
| -rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java index 47e5c9f..4f5c61d 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Patrick Wienands <pwienands@abit.de> - Contribution for bug 393749 *******************************************************************************/ package org.eclipse.jdt.internal.compiler.ast; @@ -210,6 +211,8 @@ public class Clinit extends AbstractMethodDeclaration { begin = i; count = 1; } + } else { + remainingFieldCount++; } } } |

