-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b07
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312943 | 21.0.1 | Gavin Bierman | P4 | Resolved | Fixed | b04 |
JDK-8312244 | 21 | Gavin Bierman | P4 | Resolved | Fixed | b32 |
In 12.1.4 there is non-normative text explaining how this preview feature increases the number of methods that are considered a *candidate* for execution. It correctly observes there are 12 basic forms:
1-3: {public, protected, package} void main()
4-6: {public, protected, package} void main(String[])
7-9: {public, protected, package} static void main()
10-12: {public, protected, package} static void main(String[])
It then *erroneously* claims that supporting `String...` as an alternative for `String[]` doubles this number to 24. It doesn't; it increases the number by 6 to 18.
1-3: {public, protected, package} void main()
4-6: {public, protected, package} void main(String[])
7-9: {public, protected, package} static void main()
10-12: {public, protected, package} static void main(String[])
It then *erroneously* claims that supporting `String...` as an alternative for `String[]` doubles this number to 24. It doesn't; it increases the number by 6 to 18.
- backported by
-
JDK-8312244 12.1.4: Typo in non-normative text explaining candidate main methods
- Resolved
-
JDK-8312943 12.1.4: Typo in non-normative text explaining candidate main methods
- Resolved