-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: client-libs
-
b11
-
windows
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8370226 | 17.0.18-oracle | Joakim Nordström | P4 | Resolved | Fixed | b03 |
| JDK-8370599 | 17.0.18 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
In jabswitch, main is defined as `void main()`, which requires an explicit exit call whenever an error occurs, and extra error checking code on our part. Visual C++ will automatically convert all instances of `void main()` to return 0 in all cases anyway, and there isn't anything gained from using this custom signature when the same can be achieved by simply returning the error value normally, so I propose we simply change it to the regular `int main` signature
- backported by
-
JDK-8370226 jabswitch main() should avoid calling exit explicitly
-
- Resolved
-
-
JDK-8370599 jabswitch main() should avoid calling exit explicitly
-
- Resolved
-
- relates to
-
JDK-8288293 Windows/gcc Port
-
- Draft
-
- links to
-
Commit
openjdk/jdk/cba817ae
-
Commit(master)
openjdk/jdk17u-dev/9d3acf8f
-
Review
openjdk/jdk/12650
-
Review(master)
openjdk/jdk17u-dev/4088
(2 links to)