We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504d517 commit 9d3acf8Copy full SHA for 9d3acf8
src/jdk.accessibility/windows/native/jabswitch/jabswitch.cpp
@@ -440,7 +440,7 @@ int regDisable()
440
return err;
441
}
442
443
-void main(int argc, char* argv[]) {
+int main(int argc, char* argv[]) {
444
bool enableWasRequested = false;
445
bool disableWasRequested = false;
446
bool badParams = true;
@@ -488,9 +488,6 @@ void main(int argc, char* argv[]) {
488
} else {
489
printf("disabled.\n");
490
491
- // Use exit so test case can sense for error.
492
- if (error != 0) {
493
- exit(error);
494
- }
495
+ return error;
496
0 commit comments