New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow enums to have more constants #2114
Comments
Quoting the ticket:
What do you expect from this ticket, @guw ? |
I have updated the description. Sample class for testing is available: |
If I read the JDK bug correctly, for some time ecj supported more enum constants than javac. Now that javac has improved, the situation may have reversed. It is unclear, however, how javac could become "better" than ecj simply by doing things "similar" to ecj. What is the number of enum constants supported by ecj, by javac? If javac can support more enum constants than ecj, by what strategy has this been achieved? |
Maybe the statement isn't fully correct, though? For clarity, here is the full text:
|
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 butecj
fails with:The text was updated successfully, but these errors were encountered: