eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Allow enums to have more constants
Open
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
Assessment
This issue has not been assessed yet.