eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Allow enums to have more constants

Open
#2,114 4 comments 0 reactions 0 assignees View on GitHub
enhancement javac
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

Please implement the enhancement done to `javac` which allows to compile enums with more constants.
https://bugs.openjdk.org/browse/JDK-8241798

A little test shows, that `javac` compiles ok but `ecj` fails with:
```
----------
1. ERROR in ...bazel-jdt-java-toolchain/ecj-test/src/BigEnum.java (at line 30)
public enum BigEnum {
^^^^^^^
The code for the static initializer is exceeding the 65535 bytes limit
----------
1 problem (1 error)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.